summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-15 18:09:56 +0200
committerVolker Lendecke <vl@samba.org>2008-05-16 15:40:39 +0200
commita620882e15c1b33c1eb5a0d4d1a8d8c890cc23df (patch)
treeb6f9e7dd58c9af5df3699fa5791c84e93108208d /source4/lib
parentef6fd2d46d2cb7afde4b152d1f1b2db092794542 (diff)
downloadsamba-a620882e15c1b33c1eb5a0d4d1a8d8c890cc23df.tar.gz
samba-a620882e15c1b33c1eb5a0d4d1a8d8c890cc23df.tar.bz2
samba-a620882e15c1b33c1eb5a0d4d1a8d8c890cc23df.zip
Fix an uninitialized variable warning
(This used to be commit b3d024676426000380ad86a2a4b83e7b21478978)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb_wrap.c b/source4/lib/ldb_wrap.c
index b564976524..f47d0d5d39 100644
--- a/source4/lib/ldb_wrap.c
+++ b/source4/lib/ldb_wrap.c
@@ -44,7 +44,7 @@ static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
const char *fmt, va_list ap)
{
- int samba_level;
+ int samba_level = -1;
char *s = NULL;
switch (level) {
case LDB_DEBUG_FATAL: