diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-08-04 16:44:38 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2004-08-04 16:44:38 +0000 |
| commit | dac8f2ae8dda37f1bbb384fef0c1680c0a26eb41 (patch) | |
| tree | d8e4c1ef5b85a7d2ddc63c2c7f3ce2169f2d3658 /bk_html.c | |
| parent | 8ec4d9f16a5bde1d821847e84075909d9f79bac1 (diff) | |
| download | halibut-dac8f2ae8dda37f1bbb384fef0c1680c0a26eb41.zip halibut-dac8f2ae8dda37f1bbb384fef0c1680c0a26eb41.tar.gz halibut-dac8f2ae8dda37f1bbb384fef0c1680c0a26eb41.tar.bz2 halibut-dac8f2ae8dda37f1bbb384fef0c1680c0a26eb41.tar.xz | |
Fix for an uninitialised structure member spotted by valgrind (probably didn't
have any real effect).
[originally from svn r4401]
Diffstat (limited to 'bk_html.c')
| -rw-r--r-- | bk_html.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |