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 --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index d3b63b96..81e753a8 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.272 2017/02/22 08:54:41 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.273 2017/03/03 13:55:31 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze @@ -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 v1.2.3