aboutsummaryrefslogtreecommitdiffstats
path: root/libwc/gb18030.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-12-06 08:19:46 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 08:19:46 +0000
commit0552b86da68c8cfba25641ffe76221a7774cf7b3 (patch)
treeb721962ead37bf45d63f311301becec2e115e7e1 /libwc/gb18030.c
parentMerge branch 'bug/textarea-segfault' (diff)
parentFix a few harmless uninitialized variables (diff)
downloadw3m-0552b86da68c8cfba25641ffe76221a7774cf7b3.tar.gz
w3m-0552b86da68c8cfba25641ffe76221a7774cf7b3.zip
Merge branch 'bug/uninitialized'
Diffstat (limited to 'libwc/gb18030.c')
-rw-r--r--libwc/gb18030.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libwc/gb18030.c b/libwc/gb18030.c
index c195d49..d5c9018 100644
--- a/libwc/gb18030.c
+++ b/libwc/gb18030.c
@@ -151,6 +151,7 @@ wc_ucs_to_gb18030(wc_uint32 ucs)
return cc;
}
cc.ccs = WC_CCS_UNKNOWN;
+ cc.code = 0;
return cc;
}
#endif