Index: trunk/psphot/src/psphotReplaceUnfit.c
===================================================================
--- trunk/psphot/src/psphotReplaceUnfit.c	(revision 5828)
+++ trunk/psphot/src/psphotReplaceUnfit.c	(revision 5993)
@@ -20,25 +20,2 @@
     return true;
 }
-
-# if (0)
-if (source->mode &  PM_SOURCE_BLEND) continue;
-if (source->type == PM_SOURCE_SATURATED) continue;
-
-if (source->type == PM_SOURCE_DEFECT) {
-    if (source->mode &  PM_SOURCE_SUBTRACTED) goto addPSF;
-    continue; 
-}
-
-if (source->type == PM_SOURCE_GALAXY) {
-    if (source->mode & PM_SOURCE_FAIL) goto addPSF;
-    if (source->mode & PM_SOURCE_POOR) goto addPSF;
-    continue;
-}
-
-// need to skip the successful fits
-if (source->type == PM_SOURCE_STAR) {
-    if (source->mode & PM_SOURCE_FAIL) goto addPSF;
-    if (source->mode & PM_SOURCE_POOR) goto addPSF;
-    continue;
-}
-# endif
