From: Ben Kibbey Date: Sat, 30 Jun 2012 23:56:55 +0000 (-0400) Subject: Fix compile time warning. X-Git-Tag: v2.4~11 X-Git-Url: https://repo.or.cz/w/userinfo.git/commitdiff_plain/be9fed7ab655dc64c68c1e49b33bc8ae28b307c2 Fix compile time warning. --- 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++;