summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Dupont <fdupont@isc.org>2015-07-08 15:50:04 +0200
committerFrancis Dupont <fdupont@isc.org>2015-07-08 15:50:04 +0200
commit448e58859d5e9c3c7b3e01e914ebf42c88ff44b4 (patch)
tree0fbb9773cc17d259fbd90ea4a42f59cc28342753
parent[3932] Ignored remove return status (diff)
downloadkea-448e58859d5e9c3c7b3e01e914ebf42c88ff44b4.tar.xz
kea-448e58859d5e9c3c7b3e01e914ebf42c88ff44b4.zip
[3932] Ignored remove return status
-rw-r--r--src/lib/dhcpsrv/tests/lease_file_io.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/tests/lease_file_io.cc b/src/lib/dhcpsrv/tests/lease_file_io.cc
index 3dedc43e7c..827811a4aa 100644
--- a/src/lib/dhcpsrv/tests/lease_file_io.cc
+++ b/src/lib/dhcpsrv/tests/lease_file_io.cc
@@ -55,7 +55,7 @@ LeaseFileIO::readFile() const {
void
LeaseFileIO::removeFile() const {
- remove(testfile_.c_str());
+ static_cast<void>(remove(testfile_.c_str()));
}
void