Changeset 8059
- Timestamp:
- Aug 1, 2006, 5:50:37 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/chiptool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/chiptool.c
r8052 r8059 51 51 static bool quickMode(pxConfig *config) 52 52 { 53 PS_ASSERT_PTR_NON_NULL(config, NULL); 54 53 55 psArray *rawFrames = rawScienceFrameSearch(config); 54 56 if (!rawFrames) { … … 67 69 static bool defineMode(pxConfig *config) 68 70 { 71 PS_ASSERT_PTR_NON_NULL(config, NULL); 72 69 73 psArray *rawFrames = rawScienceFrameSearch(config); 70 74 if (!rawFrames) { … … 133 137 static bool pendingMode(pxConfig *config) 134 138 { 139 PS_ASSERT_PTR_NON_NULL(config, NULL); 140 135 141 psArray *pendingFrames = p2PendingFrameSearch(config); 136 142 if (!pendingFrames) { … … 157 163 static bool doneMode(pxConfig *config) 158 164 { 165 PS_ASSERT_PTR_NON_NULL(config, NULL); 166 167 // -uri is always required 168 bool status = false; 169 psString uri = psMetadataLookupStr(&status, config->args, "-uri"); 170 if (!status) { 171 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -uri"); 172 return NULL; 173 } 174 if (!uri) { 175 psError(PS_ERR_UNKNOWN, true, "-uri is required"); 176 return NULL; 177 } 159 178 // get exp_id/class/class_id/uri from the CLI 160 179 // add the completed imfile to
Note:
See TracChangeset
for help on using the changeset viewer.
