From dac8f2ae8dda37f1bbb384fef0c1680c0a26eb41 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Wed, 4 Aug 2004 16:44:38 +0000 Subject: Fix for an uninitialised structure member spotted by valgrind (probably didn't have any real effect). [originally from svn r4401] --- bk_html.c | 1 + 1 file changed, 1 insertion(+) 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, -- cgit v1.1