Changeset 28119 for trunk/psModules/src/objects/pmSourceMatch.c
- Timestamp:
- May 26, 2010, 3:34:01 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/objects/pmSourceMatch.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmSourceMatch.c
r27333 r28119 280 280 psFree(boundsMaster); 281 281 282 if (!matches) { 283 psError(PM_ERR_OBJECTS, true, "No matches made."); 284 return NULL; 285 } 286 282 287 if (cullSingles) { 283 288 // Now cull the matches that contain only a single star … … 300 305 } 301 306 307 if (matches->n == 0) { 308 psError(PM_ERR_OBJECTS, true, "No matches made."); 309 psFree(matches); 310 return NULL; 311 } 312 302 313 return matches; 303 314 } … … 311 322 psArray *matches = pmSourceMatchSources(sourceArrays, radius, false); // Source matches 312 323 if (!matches) { 313 psError( PS_ERR_UNKNOWN, false, "Unable to match source lists.");324 psError(psErrorCodeLast(), false, "Unable to match source lists."); 314 325 return NULL; 315 326 }
Note:
See TracChangeset
for help on using the changeset viewer.
