Changeset 9250 for trunk/ippTools/src/regtool.c
- Timestamp:
- Oct 4, 2006, 1:32:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/regtool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/regtool.c
r9240 r9250 814 814 return false; 815 815 } 816 psString obstype = psMetadataLookupStr(&status, config->args, "-obstype"); 817 if (!status) { 818 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -obstype"); 819 return false; 820 } 821 if (!obstype) { 822 psError(PS_ERR_UNKNOWN, true, "-obstype is required"); 816 // optional 817 psString object = psMetadataLookupStr(&status, config->args, "-object"); 818 if (!status) { 819 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -object"); 823 820 return false; 824 821 } … … 842 839 ccd_temp, 843 840 posang, 844 ob stype841 object 845 842 ); 846 843 } … … 969 966 return false; 970 967 } 971 psString obstype = psMetadataLookupStr(&status, config->args, "-obstype"); 972 if (!status) { 973 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -obstype"); 974 return false; 975 } 976 if (!obstype) { 977 psError(PS_ERR_UNKNOWN, true, "-obstype is required"); 968 // optional 969 psString object = psMetadataLookupStr(&status, config->args, "-object"); 970 if (!status) { 971 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -object"); 978 972 return false; 979 973 } … … 997 991 ccd_temp, 998 992 posang, 999 ob stype993 object 1000 994 ); 1001 995 }
Note:
See TracChangeset
for help on using the changeset viewer.
