Index: /branches/pap/psModules/src/objects/pmSourceMatch.c
===================================================================
--- /branches/pap/psModules/src/objects/pmSourceMatch.c	(revision 26303)
+++ /branches/pap/psModules/src/objects/pmSourceMatch.c	(revision 26304)
@@ -621,4 +621,5 @@
     float lastChi2 = INFINITY;          // chi^2 on last iteration
     float fracRej = INFINITY;        // Fraction of measurements rejected
+    int numPhoto = -1;                  // Number of photometric images
 
     // In the first passes, the transparencies are not well deteremined: use high systematic error and
@@ -627,6 +628,5 @@
 
         // Identify photometric nights
-        int numPhoto = sourceMatchRelphotPhotometric(photo, trans, badImage, transIter, transClip,
-                                                     photoLevel); // Number of photometric images
+        numPhoto = sourceMatchRelphotPhotometric(photo, trans, badImage, transIter, transClip, photoLevel);
         if (numPhoto < 0) {
             psError(PS_ERR_UNKNOWN, false, "Unable to perform photometric determination");
@@ -649,6 +649,5 @@
 
         // Identify photometric nights
-        int numPhoto = sourceMatchRelphotPhotometric(photo, trans, badImage, transIter, transClip,
-                                                     photoLevel); // Number of photometric images
+        numPhoto = sourceMatchRelphotPhotometric(photo, trans, badImage, transIter, transClip, photoLevel);
         if (numPhoto < 0) {
             psError(PS_ERR_UNKNOWN, false, "Unable to perform photometric determination");
