Changeset 12685 for trunk/ippTools/src/dettool.c
- Timestamp:
- Mar 29, 2007, 12:49:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r12429 r12685 690 690 return false; 691 691 } 692 psString camera = psMetadataLookupStr(&status, config->args, "-inst"); 693 if (!status) { 694 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -inst"); 695 return false; 696 } 697 if (!camera) { 698 psError(PS_ERR_UNKNOWN, false, "-inst is required"); 699 return false; 700 } 692 701 693 702 psMetadata *where = psMetadataAlloc(); … … 939 948 if (mode && !isValidMode(config, mode)) { 940 949 psError(PS_ERR_UNKNOWN, false, "invalud mode"); 941 return false;942 }943 944 psString camera = psMetadataLookupStr(&status, config->args, "-inst");945 if (!status) {946 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -inst");947 950 return false; 948 951 }
Note:
See TracChangeset
for help on using the changeset viewer.
