aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.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
commite67e511e00b98d639343ad38244d30d1b9cd6cf4 (patch)
tree2b9c481b3465ff8074c9b610bffd9557b0fdbcbc /mdoc_html.c
parentd8e03f2c2672f6af5f40b99b8717712278692607 (diff)
downloadmandoc-e67e511e00b98d639343ad38244d30d1b9cd6cf4.tar.gz
mandoc-e67e511e00b98d639343ad38244d30d1b9cd6cf4.zip
remove a few redundant conditions that jsg@ found with cppcheck
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
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 <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;