aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-10-16 12:20:34 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-10-16 12:20:34 +0000
commit5a614b48d4e480e6aecbb9f6257de42dee05e3ae (patch)
treec5f20936909655fb1afd3ac71a4670c9b4d1fb91 /mdoc_html.c
parent69a8c4eeef220e21f890c4afe5039fe26bb0249d (diff)
downloadmandoc-5a614b48d4e480e6aecbb9f6257de42dee05e3ae.tar.gz
mandoc-5a614b48d4e480e6aecbb9f6257de42dee05e3ae.tar.zst
mandoc-5a614b48d4e480e6aecbb9f6257de42dee05e3ae.zip
Remove a bunch of useless assignments,
and assert that print_bvspace cannot be called on NULL pointers. No change in behaviour, none of these were bugs, but the code becomes easier to understand. Based on a clang report posted by joerg@; ok kristaps@.
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 09314270..5109ae4c 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.180 2011/10/09 22:10:53 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.181 2011/10/16 12:20:34 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -503,7 +503,7 @@ mdoc_root_post(MDOC_ARGS)
print_otag(h, TAG_COL, 1, tag);
print_otag(h, TAG_COL, 1, tag);
- t = print_otag(h, TAG_TBODY, 0, NULL);
+ print_otag(h, TAG_TBODY, 0, NULL);
tt = print_otag(h, TAG_TR, 0, NULL);