summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-06 21:22:53 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-06 21:04:57 +0000
commit3d443b3797dd81133990a48b6021dcf529cc5497 (patch)
tree30f99bb0aa5bd1c5ffb392231d9ee3d9df0101fd
parent39ed810feb8b042faedaf7bc836f34162ce5fb67 (diff)
downloadsamba-3d443b3797dd81133990a48b6021dcf529cc5497.tar.gz
samba-3d443b3797dd81133990a48b6021dcf529cc5497.tar.bz2
samba-3d443b3797dd81133990a48b6021dcf529cc5497.zip
ldb:ldb_parse.c - "ldb_parse_hex2char" - always initialise "c"
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Nov 6 21:04:58 UTC 2010 on sn-devel-104
-rw-r--r--source4/lib/ldb/common/ldb_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_parse.c b/source4/lib/ldb/common/ldb_parse.c
index 0203f3299f..16b3e217fe 100644
--- a/source4/lib/ldb/common/ldb_parse.c
+++ b/source4/lib/ldb/common/ldb_parse.c
@@ -47,7 +47,7 @@ static int ldb_parse_hex2char(const char *x)
{
if (isxdigit(x[0]) && isxdigit(x[1])) {
const char h1 = x[0], h2 = x[1];
- int c;
+ int c = 0;
if (h1 >= 'a') c = h1 - (int)'a' + 10;
else if (h1 >= 'A') c = h1 - (int)'A' + 10;