Browse Source

[3932] Ignored remove return status

Francis Dupont 9 years ago
parent
commit
fc5f35e906
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/bin/dhcp4/tests/config_parser_unittest.cc

+ 2 - 2
src/bin/dhcp4/tests/config_parser_unittest.cc

@@ -123,8 +123,8 @@ public:
         resetConfiguration();
         resetConfiguration();
 
 
         // ... and delete the hooks library marker files if present
         // ... and delete the hooks library marker files if present
-        remove(LOAD_MARKER_FILE);
-        remove(UNLOAD_MARKER_FILE);
+        static_cast<void>(remove(LOAD_MARKER_FILE));
+        static_cast<void>(remove(UNLOAD_MARKER_FILE));
     };
     };
 
 
     /// @brief Returns an interface configuration used by the most of the
     /// @brief Returns an interface configuration used by the most of the