summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-10-16 12:18:32 +0000
committerschwarze <schwarze@openbsd.org>2011-10-16 12:18:32 +0000
commit1cdbf331657b9ac82ff68415f3f46d029145d2d7 (patch)
treeda02423f006b7c815f187ac05c02b505a30b2426 /usr.bin/mandoc/mdoc_html.c
parentProvide battery charge/discharge rate in proper units. (diff)
downloadwireguard-openbsd-1cdbf331657b9ac82ff68415f3f46d029145d2d7.tar.xz
wireguard-openbsd-1cdbf331657b9ac82ff68415f3f46d029145d2d7.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 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r--usr.bin/mandoc/mdoc_html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index b38e6f6cf24..08c11d3c28d 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.63 2011/10/09 22:10:51 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.64 2011/10/16 12:18:32 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -499,7 +499,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);