aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Quirk <richard@quirk.es>2015-07-25 12:50:04 +0000
committerRichard Quirk <richard@quirk.es>2015-07-25 12:50:04 +0000
commit1970c42320d16c2791613e41e00775452dfb9aab (patch)
tree9d792186d29f2e62f3ffb248b87f51ca5cf490d3
parentuse pclose for pipe (diff)
downloadw3m-1970c42320d16c2791613e41e00775452dfb9aab.tar.gz
w3m-1970c42320d16c2791613e41e00775452dfb9aab.zip
Initialise hidden_input to NULL
This prevents a possible use of garbage value on line 3017.
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index 0b13a99..df865a0 100644
--- a/file.c
+++ b/file.c
@@ -2713,7 +2713,7 @@ flushline(struct html_feed_environ *h_env, struct readbuffer *obuf, int indent,
Str line = obuf->line, pass = NULL;
char *hidden_anchor = NULL, *hidden_img = NULL, *hidden_bold = NULL,
*hidden_under = NULL, *hidden_italic = NULL, *hidden_strike = NULL,
- *hidden_ins = NULL, *hidden_input, *hidden = NULL;
+ *hidden_ins = NULL, *hidden_input = NULL, *hidden = NULL;
#ifdef DEBUG
if (w3m_debug) {