summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandocdb.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-31 18:07:07 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-31 18:07:07 +0000
commit9751a701db74a8fd385fc8d9fc792c093df49fea (patch)
treeef04174dc5ea461b67a64ed3e1a15e75f93d3cb3 /usr.bin/mandoc/mandocdb.c
parentb4b07389daf0899f0f1e041a31a8bfc74ef47939 (diff)
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 'usr.bin/mandoc/mandocdb.c')
-rw-r--r--usr.bin/mandoc/mandocdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mandocdb.c b/usr.bin/mandoc/mandocdb.c
index 84847d97d0a..f1935546080 100644
--- a/usr.bin/mandoc/mandocdb.c
+++ b/usr.bin/mandoc/mandocdb.c
@@ -1,4 +1,4 @@
-/* $Id: mandocdb.c,v 1.47 2013/12/31 00:40:19 schwarze Exp $ */
+/* $Id: mandocdb.c,v 1.48 2013/12/31 18:07:06 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -1726,7 +1726,6 @@ utf8key(struct mchars *mc, struct str *key)
/* Read past the slash. */
val++;
- u = 0;
/*
* Parse the escape sequence and see if it's a