Index: trunk/Ohana/src/relastro/src/UpdateObjects.c
===================================================================
--- trunk/Ohana/src/relastro/src/UpdateObjects.c	(revision 17243)
+++ trunk/Ohana/src/relastro/src/UpdateObjects.c	(revision 17419)
@@ -47,5 +47,4 @@
   int mode, Nave, Npm, Npar, Nskip;
   double Tmin, Tmax;
-  float errorScale;
   float mag;
   int mask;
Index: trunk/Ohana/src/relastro/src/fitpoly.c
===================================================================
--- trunk/Ohana/src/relastro/src/fitpoly.c	(revision 17243)
+++ trunk/Ohana/src/relastro/src/fitpoly.c	(revision 17419)
@@ -273,6 +273,4 @@
 CoordFit *fit_apply_coords (CoordFit *fit, Coords *coords) {
 
-  double c11, c12;
-  double c21, c22;
   double Xo, Yo, R1, R2;
   CoordFit *modfit;
@@ -330,4 +328,7 @@
   fit_free (modfit);
   /* keep the order and type from initial values */
-}
-
+  
+  // XXX if desired in the future, return modfit (and free above)
+  return (NULL);
+}
+
