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_html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 1a9b9d84..306ba0a3 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -666,7 +666,7 @@ mdoc_it_pre(MDOC_ARGS) enum mdoc_list type; bl = n->parent; - while (bl != NULL && bl->tok != MDOC_Bl) + while (bl->tok != MDOC_Bl) bl = bl->parent; type = bl->norm->Bl.type; -- cgit