s3/s4 build: Fix "might be unitialized" warning
authorTim Prouty <tprouty@samba.org>
Fri, 21 Nov 2008 02:03:33 +0000 (18:03 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 21 Nov 2008 02:04:42 +0000 (18:04 -0800)
lib/torture/torture.c

index 0ef5f612e67b45ae21aa13262bc1bf43c875d0dc..9ad29ba9d0380d087354315d53b7cf1462370138 100644 (file)
@@ -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;