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

@ -640,7 +640,7 @@ void FixAveTime::invoke_scalar(bigint ntimestep)
if (fp && comm->me == 0) {
clearerr(fp);
if (overwrite) platform::fseek(fp,filepos);
if (overwrite) (void) platform::fseek(fp,filepos);
if (yaml_flag) {
if (!yaml_header || overwrite) {
yaml_header = true;