From 038da00e799b4bf3af824075a260083c56392964 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Tue, 6 Sep 2022 13:21:09 +0300 Subject: Code optimizations / refactor (#12704) Co-authored-by: SmallJoker Co-authored-by: sfan5 --- src/unittest/test_filepath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unittest/test_filepath.cpp') diff --git a/src/unittest/test_filepath.cpp b/src/unittest/test_filepath.cpp index ac2d69b5a..f1a79062d 100644 --- a/src/unittest/test_filepath.cpp +++ b/src/unittest/test_filepath.cpp @@ -238,7 +238,7 @@ void TestFilePath::testRemoveLastPathComponentWithTrailingDelimiter() void TestFilePath::testRemoveRelativePathComponent() { - std::string path, result, removed; + std::string path, result; path = p("/home/user/minetest/bin"); result = fs::RemoveRelativePathComponents(path); -- cgit v1.2.3