mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[3932] Ignored remove return status
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
/// @param content text to be written to disk
|
||||
void writeFile(const std::string& content) {
|
||||
// Write sample content to disk
|
||||
remove(TEMP_FILE);
|
||||
static_cast<void>remove(TEMP_FILE));
|
||||
std::ofstream write_me(TEMP_FILE);
|
||||
EXPECT_TRUE(write_me.is_open());
|
||||
write_me << content;
|
||||
|
Reference in New Issue
Block a user