From 4577e7407d5d3511af49f33846f7acce2ea99bcd Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 8 Jul 2015 15:37:40 +0200 Subject: [PATCH] [3932] Ignored remove return status --- src/lib/log/tests/logger_manager_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/log/tests/logger_manager_unittest.cc b/src/lib/log/tests/logger_manager_unittest.cc index 99a065c21e..78e04ea782 100644 --- a/src/lib/log/tests/logger_manager_unittest.cc +++ b/src/lib/log/tests/logger_manager_unittest.cc @@ -195,7 +195,7 @@ TEST_F(LoggerManagerTest, FileLogger) { // For the first test, we want to check that the file is created // if it does not already exist. So delete the temporary file before // logging the first message. - remove(file_spec.getFileName().c_str()); + static_cast(remove(file_spec.getFileName().c_str())); // Set up the file appenders. LoggerManager manager; @@ -368,7 +368,7 @@ TEST_F(LoggerManagerTest, checkLayoutPattern) { // For the first test, we want to check that the file is created // if it does not already exist. So delete the temporary file before // logging the first message. - remove(file_spec.getFileName().c_str()); + static_cast(remove(file_spec.getFileName().c_str())); // Set up the file appenders. LoggerManager manager; -- 2.47.2