Index: trunk/Ohana/src/opihi/cmd.astro/biassub.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/biassub.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/biassub.c	(revision 4689)
@@ -9,4 +9,5 @@
   Buffer *buf;
 
+  xvec = yvec = NULL;
   NoVector = TRUE;
   if ((N = get_argument (argc, argv, "-v"))) {
Index: trunk/Ohana/src/opihi/cmd.astro/drizzle.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/drizzle.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/drizzle.c	(revision 4689)
@@ -175,4 +175,5 @@
   double N, r, d;
 
+  Xin = Yin = 0;
   N = x = y = x2 = y2 = xy = X = Y = Xx = Xy = Yx = Yy = 0;
 
Index: trunk/Ohana/src/opihi/cmd.astro/getvel.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/getvel.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/getvel.c	(revision 4689)
@@ -3,5 +3,5 @@
 int getvel (int argc, char **argv) {
   
-  int i, X, n, Ncurve;
+  int i, n, Ncurve;
   int nx, ny;
   double L, V, Vo, dV, Bo, dB;
@@ -45,5 +45,5 @@
   while (L >= 360) {L -= 360.0;}
   while (L < 0.0)  {L += 360.0;}
-  fprintf (stderr, "L: %f (%d)\n", L, X);
+  fprintf (stderr, "L: %f\n", L);
 
   cl = cos (L*RAD_DEG);
Index: trunk/Ohana/src/opihi/cmd.astro/imfit-Sgauss.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/imfit-Sgauss.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/imfit-Sgauss.c	(revision 4689)
@@ -46,5 +46,5 @@
 
   float X, Y, px1, py1, px2, py2;
-  float z1, z2, r, q1, q2, f, f1, f2;
+  float z1, z2, r, q1, q2, f;
 
   X = x - par[0];
Index: trunk/Ohana/src/opihi/cmd.astro/imfit.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/imfit.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/imfit.c	(revision 4689)
@@ -6,6 +6,5 @@
   int sx, sy, nx, ny, Nx, Ny;
   float chisq, ochisq, dchisq, Gain, RDnoise, SatThreshold;
-  float *x, *y, *z, *dz, *V, *parmin, *parmax;
-  char line[64];
+  float *x, *y, *z, *dz, *V;
   Buffer *buf;
 
@@ -123,4 +122,5 @@
   ochisq = mrq2dinit (x, y, z, dz, Npts, par, Npar, fitfunc, VERBOSE);
   dchisq = ochisq;
+  chisq  = ochisq;
   for (i = 0; (i < 25) && ((dchisq <= 0.0) || (dchisq > 0.01*(Npts - Npar))); i++) {
     chisq = mrq2dmin (x, y, z, dz, Npts, par, Npar, fitfunc, VERBOSE);
Index: trunk/Ohana/src/opihi/cmd.astro/medianmap.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/medianmap.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/medianmap.c	(revision 4689)
@@ -11,4 +11,5 @@
   Buffer *in, *out;
 
+  IgnoreValue = 0;
   Ignore = FALSE;
   if ((N = get_argument (argc, argv, "-ignore"))) {
Index: trunk/Ohana/src/opihi/cmd.astro/region.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/region.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/region.c	(revision 4689)
@@ -3,10 +3,9 @@
 int region (int argc, char **argv) {
   
-  char buffer[65], buffer2[35], string[256];
+  char buffer[65], string[256];
   double Ra, Dec, Radius;
   double dx, dy;
-  int status, N;
+  int N, Ngraph, Xgraph;
   Graphdata graphmode;
-  int Ngraph, Xgraph;
 
   Ngraph = 0;
Index: trunk/Ohana/src/opihi/cmd.astro/spec.c
===================================================================
--- trunk/Ohana/src/opihi/cmd.astro/spec.c	(revision 4688)
+++ trunk/Ohana/src/opihi/cmd.astro/spec.c	(revision 4689)
@@ -91,5 +91,5 @@
     }
     fsort (buffer, Nring);
-    for (Npts = sky = 0, i = 0.25*Nring; i < 0.75*Nring; i++, Npts += 1.0) {
+    for (Npts = sky = sky2 = 0, i = 0.25*Nring; i < 0.75*Nring; i++, Npts += 1.0) {
       sky += buffer[i];
       sky2 += buffer[i]*buffer[i];
