From 363fe115368639225673d628a2ccc067928f4289 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 20 Nov 2008 18:03:33 -0800 Subject: s3/s4 build: Fix "might be unitialized" warning --- lib/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/torture') 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; -- cgit