From: jacob Date: Wed, 4 Aug 2004 16:44:38 +0000 (+0000) Subject: Fix for an uninitialised structure member spotted by valgrind (probably didn't X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/commitdiff_plain/cdb986cc9e29db157d58d06d02aa5e3c3d3c64a9 Fix for an uninitialised structure member spotted by valgrind (probably didn't have any real effect). git-svn-id: svn://svn.tartarus.org/sgt/halibut@4401 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/bk_html.c b/bk_html.c index 23219be..1bd573a 100644 --- a/bk_html.c +++ b/bk_html.c @@ -540,6 +540,7 @@ void html_backend(paragraph *sourceform, keywordlist *keywords, sect->text = NULL; sect->type = INDEX; sect->parent = topsect; + sect->contents_depth = 0; html_file_section(&conf, &files, sect, 0); /* peer of chapters */ sect->fragment = utoa_dup(conf.index_text, CS_ASCII); sect->fragment = html_sanitise_fragment(&files, sect->file,