aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11
diff options
context:
space:
mode:
authorErkki Seppälä <erkki.seppala@vincit.fi>2011-01-31 14:01:56 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:24 +0200
commit52d2c35580bd29d27ce8b8712a94be1042cabdda (patch)
treebe2fad2ffb682294860824cdbb1f065ceb633048 /nx-X11/lib/X11
parent865043ea08c5f4effae397341b5faae8514f220e (diff)
downloadnx-libs-52d2c35580bd29d27ce8b8712a94be1042cabdda.tar.gz
nx-libs-52d2c35580bd29d27ce8b8712a94be1042cabdda.tar.bz2
nx-libs-52d2c35580bd29d27ce8b8712a94be1042cabdda.zip
xlibi18n/lcGeneric: Initialize uninitialized local variable
Using uninitialized value "new" Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Ander Conselvan de Oliveira <ander.conselvan-de-oliveira@nokia.com> Signed-off-by: Erkki Seppälä <erkki.seppala@vincit.fi> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11')
-rw-r--r--nx-X11/lib/X11/lcGeneric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/lcGeneric.c b/nx-X11/lib/X11/lcGeneric.c
index 69ea97db8..688a4cfc4 100644
--- a/nx-X11/lib/X11/lcGeneric.c
+++ b/nx-X11/lib/X11/lcGeneric.c
@@ -428,7 +428,7 @@ read_charset_define(
char name[BUFSIZ];
XlcCharSet charsetd;
char **value;
- int num, new;
+ int num, new = 0;
XlcSide side = XlcUnknown;
char *tmp;