summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-01 19:55:06 +0200
committerVolker Lendecke <vl@samba.org>2010-08-01 17:58:01 +0200
commit9bf2d260aa584f4cc8daa4228e71049ee2524ad3 (patch)
treea60cc7afabe2ed7484d8a5c66906ae68ffb76c4d /source3/lib
parent542396ccd9a8b06a769300c5952477e13e3db8ae (diff)
downloadsamba-9bf2d260aa584f4cc8daa4228e71049ee2524ad3.tar.gz
samba-9bf2d260aa584f4cc8daa4228e71049ee2524ad3.tar.bz2
samba-9bf2d260aa584f4cc8daa4228e71049ee2524ad3.zip
s3: Fix an uninitialized variable
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ldb_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ldb_compat.c b/source3/lib/ldb_compat.c
index d3b12667a5..36a29e6833 100644
--- a/source3/lib/ldb_compat.c
+++ b/source3/lib/ldb_compat.c
@@ -30,7 +30,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;