Index: mailavenger-0.8.1/libasync/study.c
===================================================================
--- mailavenger-0.8.1.orig/libasync/study.c	2011-09-23 01:28:02.000000000 -0400
+++ mailavenger-0.8.1/libasync/study.c	2011-09-23 01:31:48.000000000 -0400
@@ -96,7 +96,7 @@
 disable optimization (in this module it actually makes a big difference, and
 the pcre module can use all the optimization it can get). */
 
-volatile int dummy;
+/* volatile int dummy; */
 
 do
   {
@@ -154,7 +154,7 @@
       case OP_BRAMINZERO:
       if (!set_start_bits(++tcode, start_bits, caseless, utf8, cd))
         return FALSE;
-      dummy = 1;
+      /* dummy = 1; */
       do tcode += GET(tcode,1); while (*tcode == OP_ALT);
       tcode += 1+LINK_SIZE;
       break;
Index: mailavenger-0.8.1/libasync/itree.C
===================================================================
--- mailavenger-0.8.1.orig/libasync/itree.C	2011-09-23 01:37:53.000000000 -0400
+++ mailavenger-0.8.1/libasync/itree.C	2011-09-23 02:15:12.000000000 -0400
@@ -302,8 +302,8 @@
 		  const int os,
 		  int (*cmpfn) (void *, oc, oc), void *cmparg)
 {
-  volatile oc l, r, p;
-  volatile enum itree_color cx, cl, cr, cp;
+  volatile oc l, r/*, p*/;
+  volatile enum itree_color cx, cl, cr/*, cp*/;
 
   if (color (x) == BLACK)
     bd++;
@@ -313,8 +313,8 @@
   }
 
   cx = color (x);
-  p = up (x);
-  cp = color (p);
+  /* p = up (x);
+  cp = color (p); */
   l = left (x);
   cl = color (l);
   r = right (x);
Index: mailavenger-0.8.1/libasync/socket.C
===================================================================
--- mailavenger-0.8.1.orig/libasync/socket.C	2011-09-23 01:41:12.000000000 -0400
+++ mailavenger-0.8.1/libasync/socket.C	2011-09-23 01:41:11.000000000 -0400
@@ -132,7 +132,7 @@
 {
   int s;
   int n;
-  socklen_t sn;
+  /* socklen_t sn; */
   struct sockaddr_in sin;
 
   bzero (&sin, sizeof (sin));
@@ -145,7 +145,7 @@
   if ((s = socket (AF_INET, type, 0)) < 0)
     return -1;
 
-  sn = sizeof (n);
+  /* sn = sizeof (n); */
   n = 1;
   /* Avoid those annoying TIME_WAITs for TCP */
   if (port && type == SOCK_STREAM
Index: mailavenger-0.8.1/asmtpd/synfp.C
===================================================================
--- mailavenger-0.8.1.orig/asmtpd/synfp.C	2011-09-23 02:18:46.000000000 -0400
+++ mailavenger-0.8.1/asmtpd/synfp.C	2011-09-23 02:18:45.000000000 -0400
@@ -529,10 +529,10 @@
 	  ntohs (sin.sin_port), fp.cstr ());
 #endif
 
-    bool found = false;
+    /* bool found = false; */
     for (cbentry_t *cbe = cbs.tab[sin], *ncbe; cbe; cbe = ncbe) {
       ncbe = cbs.tab.nextkeq (cbe);
-      found = true;
+      /* found = true; */
       ::cbs cb = cbe->val.cb;
       cbs.dealloc (cbe);
       (*cb) (fp);
Index: mailavenger-0.8.1/util/dbutil.c
===================================================================
--- mailavenger-0.8.1.orig/util/dbutil.c	2011-09-23 02:21:58.000000000 -0400
+++ mailavenger-0.8.1/util/dbutil.c	2011-09-23 06:19:37.000000000 -0400
@@ -201,7 +201,7 @@
 {
   dbexp *dbx;
   DBT k;
-  int ret = 0;
+  /* int ret = 0; */
   int err;
 
   if (!(dbx = dbexp_alloc (env, db, 0)) || dbexp_clean (dbx))
@@ -213,10 +213,10 @@
 
   err = dbx->db->del (dbx->db, NULL, &k, dbx->dbe->txnflag);
   if (err == DB_NOTFOUND)
-    ret = 1;
+    { } /* ret = 1; */
   else if (err) {
     fprintf (stderr, "%s; %s\n", db, db_strerror (err));
-    ret = 2;
+    /* ret = 2; */
   }
 
   err = dbexp_free (dbx, opt_sync);
Index: mailavenger-0.8.1/local/copymsg.c
===================================================================
--- mailavenger-0.8.1.orig/local/copymsg.c	2011-09-23 06:21:36.000000000 -0400
+++ mailavenger-0.8.1/local/copymsg.c	2011-09-23 06:21:36.000000000 -0400
@@ -167,7 +167,7 @@
 {
   struct lnbuf buf;
   FILE *out = fdopen (dup (outfd), "w");
-  int in_headers = 1, rl_res = 1, last_size = 1;
+  int in_headers = 1, rl_res = 1/*, last_size = 1*/;
 
   if (!out) {
     perror ("fdopen");
@@ -224,7 +224,7 @@
 	}
       }
     }
-    last_size = buf.size;
+    /* last_size = buf.size; */
     rl_res = readln (&buf, in, maxbuf);
   }
 #if 0
