From fedafaaae16f368355e7387e9b586c527c7b0109 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 3 Mar 2017 13:55:31 +0000 Subject: remove a few redundant conditions that jsg@ found with cppcheck --- mdoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdoc.c') diff --git a/mdoc.c b/mdoc.c index d8cdd103..ae1d53a9 100644 --- a/mdoc.c +++ b/mdoc.c @@ -382,7 +382,7 @@ mdoc_pmacro(struct roff_man *mdoc, int ln, char *buf, int offs) /* Jump to the next non-whitespace word. */ - while (buf[offs] && ' ' == buf[offs]) + while (buf[offs] == ' ') offs++; /* -- cgit