Index: trunk/psLib/src/imageops/psImageInterpolate.c
===================================================================
--- trunk/psLib/src/imageops/psImageInterpolate.c	(revision 20314)
+++ trunk/psLib/src/imageops/psImageInterpolate.c	(revision 20315)
@@ -7,6 +7,6 @@
  *  @author Paul Price, IfA
  *
- *  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2008-10-22 03:02:28 $
+ *  @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2008-10-22 03:05:00 $
  *
  *  Copyright 2004-2007 Institute for Astronomy, University of Hawaii
@@ -511,4 +511,8 @@
                 ySumKernel2 += yKernel2[i] = PS_SQR(yKernel2[i]);
             }
+        } else {
+            // Required for compilation when optimising
+            xSumKernel2 = ySumKernel2 = 0.0;
+            xKernel2 = yKernel2 = NULL;
         }
     }
