projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2931b
)
remove variable mp2 from spost in putadr
author
Philipp Takacs
<philipp@bureaucracy.de>
Sun, 25 Oct 2015 20:27:58 +0000
(21:27 +0100)
committer
Philipp 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
patch
|
blob
|
history
diff --git
a/uip/spost.c
b/uip/spost.c
index
f755a16
..
d682318
100644
(file)
--- 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);