summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-03 13:55:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-03 13:55:31 +0000
commitfedafaaae16f368355e7387e9b586c527c7b0109 (patch)
tree06189b06e3f6c87e55dd9989755c28716ae6b6bb /man.c
parent1ad6f6e0ee89c526a785591e3e32ee04aed82f7b (diff)
downloadmandoc-fedafaaae16f368355e7387e9b586c527c7b0109.tar.gz
remove a few redundant conditions that jsg@ found with cppcheck
Diffstat (limited to 'man.c')
-rw-r--r--man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man.c b/man.c
index e05204ff..905b99a1 100644
--- a/man.c
+++ b/man.c
@@ -203,7 +203,7 @@ man_pmacro(struct roff_man *man, int ln, char *buf, int offs)
/* Jump to the next non-whitespace word. */
- while (buf[offs] && buf[offs] == ' ')
+ while (buf[offs] == ' ')
offs++;
/*