summaryrefslogtreecommitdiff
path: root/lib/torture
diff options
context:
space:
mode:
Diffstat (limited to 'lib/torture')
-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;