Skip to content

15837:Removing H5PartReader Warnings

Removing H5PartReader Warnings http://www.vtk.org/Bug/view.php?id=15837

cc = gcc4.9.2

Warnings were :

H5Part.c:525:21:
 error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
  if ( f->nparticles == nparticles ) {
                     ^
H5Part.c:828:10: error: 
variable ‘nelem’ set but not used [-Werror=unused-but-set-variable]
  hsize_t nelem;
          ^
H5PartErrors.h:19:16: error: logical not is only applied to the left hand side of comparison 
[-Werror=logical-not-parentheses]
  if ( ! f->mode==H5PART_READ ) \

Merge request reports