summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-21 17:22:07 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-21 17:37:39 +0100
commit28423114ecd418d312049aa11072baddad296001 (patch)
tree607bd935ea028b273b1f4432314ed3906d337b52 /source4
parent37e4e387db869600b68d28d4d7b5290fe8b110ae (diff)
downloadsamba-28423114ecd418d312049aa11072baddad296001.tar.gz
samba-28423114ecd418d312049aa11072baddad296001.tar.bz2
samba-28423114ecd418d312049aa11072baddad296001.zip
s4:torture/rpc/netlogon - Fix uninitialised variable
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/netlogon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 897283470f..2806cca52b 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -1354,8 +1354,7 @@ static bool test_DatabaseRedo(struct torture_context *tctx,
r.out.delta_enum_array = &delta_enum_array;
for (d=0; d<3; d++) {
-
- const char *database;
+ const char *database = NULL;
switch (d) {
case 0: