aboutsummaryrefslogtreecommitdiffstats
path: root/parsetagx.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2016-08-19 21:53:41 +0000
committerTatsuya Kinoshita <tats@debian.org>2016-08-19 21:57:56 +0000
commit6612318232a5ef91db1fe26678c3ef1f87385d50 (patch)
tree0e12afb6c1ba4752e72d41971220e7bfc425bf26 /parsetagx.c
parentUpdate ChangeLog (diff)
downloadw3m-6612318232a5ef91db1fe26678c3ef1f87385d50.tar.gz
w3m-6612318232a5ef91db1fe26678c3ef1f87385d50.zip
Revert "Fix uninitialised values for <i> and <dd>"
This reverts commit 0fba2f1a6eb6861206ad120a02af2643938082cd. cf. https://github.com/tats/w3m/commit/0fba2f1a6eb6861206ad120a02af2643938082cd#commitcomment-18703355
Diffstat (limited to 'parsetagx.c')
-rw-r--r--parsetagx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/parsetagx.c b/parsetagx.c
index cd1ff58..3435f9f 100644
--- a/parsetagx.c
+++ b/parsetagx.c
@@ -126,7 +126,6 @@ parse_tag(char **s, int internal)
*(p++) = *(q++);
SKIP_BLANKS(q);
}
- tagname[0] = '\0';
while (*q && !IS_SPACE(*q) && !(tagname[0] != '/' && *q == '/') &&
*q != '>' && p - tagname < MAX_TAG_LEN - 1) {
*(p++) = TOLOWER(*q);