From 9bf2d260aa584f4cc8daa4228e71049ee2524ad3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 1 Aug 2010 19:55:06 +0200 Subject: s3: Fix an uninitialized variable --- source3/lib/ldb_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; -- cgit