From: Philipp Takacs Date: Sun, 25 Oct 2015 20:27:58 +0000 (+0100) Subject: remove variable mp2 from spost in putadr X-Git-Tag: mmh-0.2-RC1~5 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=7d95e0861814febe23512e306b7b1e805c17bd81;p=mmh remove variable mp2 from spost in putadr This variable is set but not used. Thanks gcc for the warning. --- diff --git a/uip/spost.c b/uip/spost.c index f755a16..d682318 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -531,7 +531,7 @@ get_header(char *header, struct headers *table) static void putadr(char *name, struct mailname *nl) { - struct mailname *mp, *mp2; + struct mailname *mp; int linepos; int namelen; @@ -545,7 +545,6 @@ putadr(char *name, struct mailname *nl) linepos = namelen; } linepos = putone(mp->m_text, linepos, namelen); - mp2 = mp; mp = mp->m_next; } putc('\n', out);