aboutsummaryrefslogtreecommitdiffstats
path: root/parsetagx.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-08-19 22:12:41 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-08-19 22:12:41 +0000
commit33509cc81ec5f2ba44eb6fd98bd5c1b5873e46bd (patch)
tree2c98b5c01eb583cf920fd9191282753052fd8b61 /parsetagx.c
parentRevert "Fix uninitialised values for <i> and <dd>" (diff)
downloadw3m-33509cc81ec5f2ba44eb6fd98bd5c1b5873e46bd.tar.gz
w3m-33509cc81ec5f2ba44eb6fd98bd5c1b5873e46bd.zip
Fix uninitialised values for <i> and <dd>
Bug-Debian: https://github.com/tats/w3m/issues/16
Diffstat (limited to 'parsetagx.c')
-rw-r--r--parsetagx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsetagx.c b/parsetagx.c
index 3435f9f..1cc7048 100644
--- a/parsetagx.c
+++ b/parsetagx.c
@@ -120,6 +120,7 @@ parse_tag(char **s, int internal)
int i, attr_id = 0, nattr;
/* Parse tag name */
+ tagname[0] = '\0';
q = (*s) + 1;
p = tagname;
if (*q == '/') {