From 7d95e0861814febe23512e306b7b1e805c17bd81 Mon Sep 17 00:00:00 2001 From: Philipp Takacs Date: Sun, 25 Oct 2015 21:27:58 +0100 Subject: [PATCH] remove variable mp2 from spost in putadr This variable is set but not used. Thanks gcc for the warning. --- uip/spost.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); -- 1.7.10.4