Index: trunk/psastro/src/psastroLoadRefstars.c
===================================================================
--- trunk/psastro/src/psastroLoadRefstars.c	(revision 17675)
+++ trunk/psastro/src/psastroLoadRefstars.c	(revision 17676)
@@ -104,10 +104,4 @@
         psError(PSASTRO_ERR_REFSTARS, true, "error reading reference data\n");
         psFitsClose (fits);
-        return NULL;
-    }
-    if (refstars->n == 0) {
-        psError(PSASTRO_ERR_REFSTARS, true, "no reference stars found");
-        psFitsClose (fits);
-        psFree(refstars);
         return NULL;
     }
