From 142247c94aab2a1449e9bd4224798a16069d8f4a Mon Sep 17 00:00:00 2001 From: Philippe Canal Date: Wed, 27 Nov 2024 17:22:00 -0600 Subject: [PATCH] root/io/newstl: reuse variable. Co-authored-by: Jakob Blomer --- root/io/newstl/TestHelpers.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/io/newstl/TestHelpers.C b/root/io/newstl/TestHelpers.C index 2cbf1c56c1..ea7223185d 100644 --- a/root/io/newstl/TestHelpers.C +++ b/root/io/newstl/TestHelpers.C @@ -57,7 +57,7 @@ void fillListOfDir(TList &l) { TObjString *obj; while ((obj = (TObjString*)next())) { const char *file = obj->GetName(); - cout << "found the directory " << obj->GetName() << endl; + cout << "found the directory " << file << endl; } } }