Index: trunk/Ohana/src/imregister/imreg/modify.c
===================================================================
--- trunk/Ohana/src/imregister/imreg/modify.c	(revision 27435)
+++ trunk/Ohana/src/imregister/imreg/modify.c	(revision 34088)
@@ -6,5 +6,5 @@
   off_t i, j, Nold;
   char *tmppath;
-  char *ext, *root, *path, dist;
+  char *ext, *root, *path;
 
   Nold = 0;
@@ -16,7 +16,8 @@
     ALLOCATE (tmppath, char, 128);
   }
-  if (output.modify_dist) {
-    dist = (output.dist) ? 0xff : ~IMREG_DIST;
-  }
+  // XXX this code is not used, why was it here?
+  // if (output.modify_dist) {
+  //   dist = (output.dist) ? 0xff : ~IMREG_DIST;
+  // }
 
   /* modify the selected entries */
