| e8779f83 | 25-Jul-2024 |
Pierre Jolivet <pierre@joliv.et> |
Fix -Wtype-limits -Wextra-semi-stmt
src/ts/utils/dmplexlandau/plexland.c:1356:12: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt
Fix -Wtype-limits -Wextra-semi-stmt
src/ts/utils/dmplexlandau/plexland.c:1356:12: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] }; ^ src/dm/impls/plex/plexhdf5.c:379:3: note: in expansion of macro ‘PetscCallHDF5Return’ 379 | PetscCallHDF5Return(rdim, H5Sget_simple_extent_dims, (dspace, NULL, NULL)); | ^~~~~~~~~~~~~~~~~~~ include/petsc/private/viewerhdf5impl.h:37:22: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 37 | PetscCheck(ret >= 0, PETSC_COMM_SELF, PETSC_ERR_LIB, "Error in HDF5 call %s() Status %d", #func, (int)ret); \ | ^~
show more ...
|