Changeset 12429
- Timestamp:
- Mar 12, 2007, 6:50:03 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r12424 r12429 242 242 } 243 243 244 // optional 244 245 psString filelevel = psMetadataLookupStr(&status, config->args, "-filelevel"); 245 246 if (!status) { 246 247 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -filelevel"); 247 return false;248 }249 if (!filelevel) {250 psError(PS_ERR_UNKNOWN, true, "-filelevel is required");251 248 return false; 252 249 } … … 501 498 psAbort( "an -exp_tag matched more then one rawExp (this should not happen"); 502 499 500 } 501 502 // check to see if -filelevel was set on the command line 503 if (!filelevel) { 504 filelevel = psStringCopy(((rawExpRow *)detrendExps->data[0])->filelevel); 503 505 } 504 506 … … 672 674 } 673 675 676 // optional 674 677 psString filelevel = psMetadataLookupStr(&status, config->args, "-filelevel"); 675 678 if (!status) { 676 679 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -filelevel"); 677 return false;678 }679 if (!filelevel) {680 psError(PS_ERR_UNKNOWN, true, "-filelevel is required");681 680 return false; 682 681 } … … 1146 1145 psFree(use_end); 1147 1146 return true; 1147 } 1148 1149 // check to see if -filelevel was set on the command line 1150 if (!filelevel) { 1151 filelevel = psStringCopy(((rawExpRow *)detrendExps->data[0])->filelevel); 1148 1152 } 1149 1153
Note:
See TracChangeset
for help on using the changeset viewer.
