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

@ -899,7 +899,7 @@ void FixAveChunk::end_of_step()
if (fp && comm->me == 0) {
clearerr(fp);
if (overwrite) platform::fseek(fp,filepos);
if (overwrite) (void) platform::fseek(fp,filepos);
double count = 0.0;
for (m = 0; m < nchunk; m++) count += count_total[m];
fmt::print(fp,"{} {} {}\n",ntimestep,nchunk,count);