- Timestamp:
- Jun 10, 2010, 6:28:51 PM (16 years ago)
- Location:
- branches/czw_branch/20100519
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
psModules/src/objects/pmSourceMatch.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100519
- Property svn:mergeinfo changed
-
branches/czw_branch/20100519/psModules/src/objects/pmSourceMatch.c
r27333 r28304 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.
