cast return value to void to indicate that we want to ignore the result

This commit is contained in:
Axel Kohlmeyer
2024-08-13 12:36:43 -04:00
parent b479cf6c68
commit 0f792b0434
22 changed files with 56 additions and 56 deletions

View File

@ -573,7 +573,7 @@ void Dump::openfile()
nameslist[numfiles] = utils::strdup(filecurrent);
++numfiles;
} else {
remove(nameslist[fileidx]);
(void) remove(nameslist[fileidx]);
delete[] nameslist[fileidx];
nameslist[fileidx] = utils::strdup(filecurrent);
fileidx = (fileidx + 1) % maxfiles;