summaryrefslogtreecommitdiffstats
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
commitfedafaaae16f368355e7387e9b586c527c7b0109 (patch)
tree06189b06e3f6c87e55dd9989755c28716ae6b6bb /mdoc_html.c
parent1ad6f6e0ee89c526a785591e3e32ee04aed82f7b (diff)
downloadmandoc-fedafaaae16f368355e7387e9b586c527c7b0109.tar.gz
remove a few redundant conditions that jsg@ found with cppcheck
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c2
1 files changed, 1 insertions, 1 deletions
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;