From e67e511e00b98d639343ad38244d30d1b9cd6cf4 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 --- man.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'man.c') diff --git a/man.c b/man.c index a2db05fb..aea3872e 100644 --- a/man.c +++ b/man.c @@ -1,4 +1,4 @@ -/* $Id: man.c,v 1.167 2017/01/10 13:47:00 schwarze Exp $ */ +/* $Id: man.c,v 1.168 2017/03/03 13:55:31 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015 Ingo Schwarze @@ -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++; /* -- cgit v1.2.3