summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-11-20 18:03:33 -0800
committerTim Prouty <tprouty@samba.org>2008-11-20 18:04:42 -0800
commit363fe115368639225673d628a2ccc067928f4289 (patch)
tree0dd3b66037198568f0e7314eac8275636b23a9e4
parent03e0d0fb3791d0350199e396b562d3830f0fa095 (diff)
downloadsamba-363fe115368639225673d628a2ccc067928f4289.tar.gz
samba-363fe115368639225673d628a2ccc067928f4289.tar.bz2
samba-363fe115368639225673d628a2ccc067928f4289.zip
s3/s4 build: Fix "might be unitialized" warning
-rw-r--r--lib/torture/torture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c
index 0ef5f612e6..9ad29ba9d0 100644
--- a/lib/torture/torture.c
+++ b/lib/torture/torture.c
@@ -310,7 +310,7 @@ static bool internal_torture_run_test(struct torture_context *context,
bool already_setup)
{
bool success;
- char *old_testname;
+ char *old_testname = NULL;
if (tcase == NULL || strcmp(test->name, tcase->name) != 0) {
old_testname = context->active_testname;