summaryrefslogtreecommitdiff
path: root/lib/tdb/tools/tdbtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tdb/tools/tdbtool.c')
-rw-r--r--lib/tdb/tools/tdbtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/tools/tdbtool.c b/lib/tdb/tools/tdbtool.c
index d00779611c..3f870d4668 100644
--- a/lib/tdb/tools/tdbtool.c
+++ b/lib/tdb/tools/tdbtool.c
@@ -235,7 +235,7 @@ static void create_tdb(const char *tdbname)
static void open_tdb(const char *tdbname)
{
- struct tdb_logging_context log_ctx;
+ struct tdb_logging_context log_ctx = { NULL, NULL };
log_ctx.log_fn = tdb_log;
if (tdb) tdb_close(tdb);