Fix compile time warning.
authorBen Kibbey <bjk@luxsci.net>
Sat, 30 Jun 2012 23:56:55 +0000 (30 19:56 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 30 Jun 2012 23:56:55 +0000 (30 19:56 -0400)
src/modules/mail.c

index 783149d..e82cfd7 100644 (file)
@@ -95,7 +95,7 @@ static char *stripstr(char *str, char *rm)
 {
     static char buf[LINE_MAX];
     char *orm;
-    int i = 0, c;
+    int i = 0;
 
     if (rm == NULL || str == NULL)
        return str;
@@ -105,11 +105,11 @@ static char *stripstr(char *str, char *rm)
 
        while (*orm) {
            if (*str == *orm) {
-               c = *str++;
+               str++;
                continue;
            }
 
-           c = *orm++;
+           orm++;
        }
 
        buf[i++] = *str++;