Changeset 25545 for trunk/ippTools/src/magictool.c
- Timestamp:
- Sep 24, 2009, 1:50:20 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/magictool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/magictool.c
r25512 r25545 1399 1399 psMetadata *where = psMetadataAlloc(); 1400 1400 1401 PXOPT_LOOKUP_S64(magic_id, config->args, "-magic_id", false, false); 1402 PXOPT_LOOKUP_S64(exp_id, config->args, "-exp_id", false, false); 1403 PXOPT_LOOKUP_STR(label, config->args, "-label", false, false); 1404 1405 if (!magic_id) { 1406 if (!exp_id && !label) { 1407 psError(PS_ERR_UNKNOWN, true, "either -magic_id or exp_id and label is required"); 1408 return false; 1409 } 1410 } 1411 1401 1412 // at least one of these required 1402 1413 PXOPT_COPY_S64(config->args, where, "-magic_id", "magic_id", "=="); 1403 1414 PXOPT_COPY_S64(config->args, where, "-exp_id", "exp_id", "=="); 1415 PXOPT_COPY_STR(config->args, where, "-label", "label", "=="); 1404 1416 1405 1417 if (!psListLength(where->list)) {
Note:
See TracChangeset
for help on using the changeset viewer.
