scdoc2mdoc

A fork of scdoc to output mdoc(7)
git clone git://git.sgregoratto.me/scdoc2mdoc
Log | Files | Refs | README | LICENSE

commit 10aa93dcbd42a779306c41d6182af3b923b7c01d
parent ea10bb24102ca02bead95bfb396a8c26245aa86a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 27 Jan 2019 10:50:40 -0500

Deal with bogus uninitialized warning (thx gcc)

Diffstat:
Msrc/util.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util.c b/src/util.c @@ -14,7 +14,7 @@ void parser_fatal(struct parser *parser, const char *err) { } uint32_t parser_getch(struct parser *parser) { - uint32_t ch; + uint32_t ch = 0; if (parser->qhead) { ch = parser->queue[--parser->qhead]; } else if (parser->str) {