Index: /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/fitsed.c
===================================================================
--- /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/fitsed.c	(revision 34000)
+++ /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/fitsed.c	(revision 34001)
@@ -80,5 +80,5 @@
   /* load photcode information */
   if (!InitPhotcodes ()) goto escape;
-  int Nsecfilt = GetPhotcodeNsecfilt ();
+  // int Nsecfilt = GetPhotcodeNsecfilt ();
 
   /* interpret command-line options */
Index: /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/hosts.c
===================================================================
--- /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/hosts.c	(revision 34000)
+++ /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/hosts.c	(revision 34001)
@@ -15,4 +15,5 @@
   if (!strncmp(argv[1], "purge-temp", MAX(strlen(argv[1]), 3))) {
     glob_t pglob;
+    int ALL_PID = FALSE;
     int PID = getpid();
     int N;
@@ -20,4 +21,10 @@
       remove_argument (N, &argc, argv);
       PID = atoi(argv[N]);
+      remove_argument (N, &argc, argv);
+    }
+
+    if ((N = get_argument (argc, argv, "-all-pid"))) {
+      remove_argument (N, &argc, argv);
+      ALL_PID = TRUE;
       remove_argument (N, &argc, argv);
     }
@@ -60,5 +67,9 @@
       pglob.gl_offs = 0;
       char name[DVO_MAX_PATH];
-      snprintf (name, DVO_MAX_PATH, "%s/dvo.results.%05d.*.fits", table->hosts[i].pathname, PID);
+      if (ALL_PID) {
+	snprintf (name, DVO_MAX_PATH, "%s/dvo.results.*.*.fits", table->hosts[i].pathname);
+      } else {
+	snprintf (name, DVO_MAX_PATH, "%s/dvo.results.%05d.*.fits", table->hosts[i].pathname, PID);
+      }
       if (VERBOSE) gprint (GP_ERR, "checking %s\n", name);
       glob (name, 0, NULL, &pglob);
Index: /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/objectcoverage.c
===================================================================
--- /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/objectcoverage.c	(revision 34000)
+++ /branches/eam_branches/ipp-20120601/Ohana/src/opihi/dvo/objectcoverage.c	(revision 34001)
@@ -6,5 +6,5 @@
 
   int ShowDensity;
-  int N, status, TimeSelect, xs, ys;
+  int N, status, xs, ys;
   double pixscale, r, d, Xs, Ys, RaCenter, DecCenter;
   char projection[16];
