cast return value to void to indicate that we want to ignore the result
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user