Index: trunk/Ohana/src/kapa2/src/bDrawObjects.c
===================================================================
--- trunk/Ohana/src/kapa2/src/bDrawObjects.c	(revision 41563)
+++ trunk/Ohana/src/kapa2/src/bDrawObjects.c	(revision 41598)
@@ -211,5 +211,5 @@
 
   int scaleColor = (object[0].color < 0);
-  unsigned char *pixel1, *pixel2, *pixel3;
+  unsigned char *pixel1 = NULL, *pixel2 = NULL, *pixel3 = NULL;
   float *z = object[0].z;
 
Index: trunk/Ohana/src/relphot/src/ZeroPointModes.c
===================================================================
--- trunk/Ohana/src/relphot/src/ZeroPointModes.c	(revision 41563)
+++ trunk/Ohana/src/relphot/src/ZeroPointModes.c	(revision 41598)
@@ -8,5 +8,5 @@
     int newValue;
     fprintf (stdout, "Set Iteration (current = %d): ", CurrentLoop);
-    fscanf (stdin, "%d", &newValue);
+    if (!fscanf (stdin, "%d", &newValue)) return;
     fprintf (stdout, "Using iteration %d\n", newValue);
     CurrentLoop = newValue;
