remove variable mp2 from spost in putadr
authorPhilipp Takacs <philipp@bureaucracy.de>
Sun, 25 Oct 2015 20:27:58 +0000 (21:27 +0100)
committerPhilipp Takacs <philipp@bureaucracy.de>
Sun, 25 Oct 2015 20:27:58 +0000 (21:27 +0100)
This variable is set but not used. Thanks gcc for the warning.

uip/spost.c

index f755a16..d682318 100644 (file)
@@ -531,7 +531,7 @@ get_header(char *header, struct headers *table)
 static void
 putadr(char *name, struct mailname *nl)
 {
 static void
 putadr(char *name, struct mailname *nl)
 {
-       struct mailname *mp, *mp2;
+       struct mailname *mp;
        int linepos;
        int namelen;
 
        int linepos;
        int namelen;
 
@@ -545,7 +545,6 @@ putadr(char *name, struct mailname *nl)
                        linepos = namelen;
                }
                linepos = putone(mp->m_text, linepos, namelen);
                        linepos = namelen;
                }
                linepos = putone(mp->m_text, linepos, namelen);
-               mp2 = mp;
                mp = mp->m_next;
        }
        putc('\n', out);
                mp = mp->m_next;
        }
        putc('\n', out);