summaryrefslogtreecommitdiffstats
path: root/term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-31 18:07:42 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-31 18:07:42 +0000
commit1afd9d280bb0e2233cc039303a03959af86f233c (patch)
treefa1516d4bf450908c5a6333ecaffda953ed06ebe /term.c
parente1308124a54c14f5ce3ca729c696b0aed225f720 (diff)
downloadmandoc-1afd9d280bb0e2233cc039303a03959af86f233c.tar.gz
remove assignments that will be overwritten right afterwards,
and remove pointless local variables; found in a clang output from Ulrich Spoerlein <uqs at FreeBSD>
Diffstat (limited to 'term.c')
-rw-r--r--term.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/term.c b/term.c
index e3eda82b..9f59d113 100644
--- a/term.c
+++ b/term.c
@@ -659,7 +659,6 @@ term_strlen(const struct termp *p, const char *cp)
for (i = 0; i < rsz; i++)
sz += cond_width(p, *cp++, &skip);
- c = 0;
switch (*cp) {
case ('\\'):
cp++;