From be9fed7ab655dc64c68c1e49b33bc8ae28b307c2 Mon Sep 17 00:00:00 2001 From: Ben Kibbey Date: Sat, 30 Jun 2012 19:56:55 -0400 Subject: [PATCH] Fix compile time warning. --- src/modules/mail.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/mail.c b/src/modules/mail.c index 783149d..e82cfd7 100644 --- a/src/modules/mail.c +++ b/src/modules/mail.c @@ -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++; -- 2.11.4.GIT