]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3932] Ignored remove return status
authorFrancis Dupont <fdupont@isc.org>
Wed, 8 Jul 2015 13:52:28 +0000 (15:52 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 8 Jul 2015 13:52:28 +0000 (15:52 +0200)
src/bin/dhcp4/tests/config_parser_unittest.cc

index 8465e50ff603a79570f129ea2c28ffcb4de5ea9a..17c04482b81bf4188d38d26ec2ede6ac8430a588 100644 (file)
@@ -123,8 +123,8 @@ public:
         resetConfiguration();
 
         // ... 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