aboutsummaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2014-12-06 08:18:49 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 08:18:49 +0000
commitfc754b42ec0f0638b2970e6da3d9ad99423a02e7 (patch)
treeb721962ead37bf45d63f311301becec2e115e7e1 /regex.c
parentMerge branch 'bug/textarea-segfault' (diff)
downloadw3m-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--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 5bee4b2..5675d09 100644
--- a/regex.c
+++ b/regex.c
@@ -77,7 +77,7 @@ static longchar
set_longchar(char *str)
{
unsigned char *p = (unsigned char *)str;
- longchar r;
+ longchar r = { };
#ifdef USE_M17N
if (*p & 0x80) {