Changeset 7316 for trunk/ippTools/src/dettool.c
- Timestamp:
- Jun 2, 2006, 3:19:00 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r7315 r7316 1174 1174 1175 1175 // det_id is required 1176 // psString det_id is unused... it is only checked for to make sure it is 1177 // in config->where 1178 bool status = false; 1179 psString det_id = psMetadataLookupStr(&status, config->args, "-det_id"); 1180 if (!status) { 1181 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -det_id"); 1182 return false; 1183 } 1184 if (!det_id) { 1185 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 1186 return false; 1187 } 1176 1188 1177 1189 psArray *masterImfiles = … … 1205 1217 PS_ASSERT_PTR_NON_NULL(config, false); 1206 1218 1207 // det_id is required1219 // XXX det_id is requried as a simplification 1208 1220 bool status = false; 1209 1221 psString det_id = psMetadataLookupStr(&status, config->args, "-det_id"); … … 1212 1224 return false; 1213 1225 } 1226 if (!det_id) { 1227 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 1228 return false; 1229 } 1214 1230 1215 1231 // find all detNormalizedIImfile for det_id 1216 // XXX det_id is requried as a simplification1217 1232 psArray *masterImfiles = 1218 1233 detNormalizedImfileSelectRowObjects(config->dbh, config->where, 0);
Note:
See TracChangeset
for help on using the changeset viewer.
