diff options
author | Olaf Hering <olh@suse.de> | 2014-12-06 08:18:49 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2014-12-06 08:18:49 +0000 |
commit | fc754b42ec0f0638b2970e6da3d9ad99423a02e7 (patch) | |
tree | b721962ead37bf45d63f311301becec2e115e7e1 /libwc/ucs.c | |
parent | Merge branch 'bug/textarea-segfault' (diff) | |
download | w3m-fc754b42ec0f0638b2970e6da3d9ad99423a02e7.tar.gz w3m-fc754b42ec0f0638b2970e6da3d9ad99423a02e7.zip |
Fix a few harmless uninitialized variables
Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-uninitialized.patch?expand=1
Diffstat (limited to '')
-rw-r--r-- | libwc/ucs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libwc/ucs.c b/libwc/ucs.c index d7b6948..5e78b4e 100644 --- a/libwc/ucs.c +++ b/libwc/ucs.c @@ -100,6 +100,7 @@ wc_ucs_to_any(wc_uint32 ucs, wc_table *t) return t->conv(t->ccs, map->code2); } cc.ccs = WC_CCS_UNKNOWN; + cc.code = 0; return cc; } |