X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHDFPersist%2FHDFdatasetGetType.c;h=722849d1a025789ec18524ff5f682c56bdf39686;hb=b9114b43aa01d06f55dcf3f0a62df984e0cfc556;hp=9cc4bbd6a8c53e571777813d7fac9b86631bc19a;hpb=bb45d9b1d38134dde4b343d12b26c78dffa10c9d;p=modules%2Fkernel.git diff --git a/src/HDFPersist/HDFdatasetGetType.c b/src/HDFPersist/HDFdatasetGetType.c index 9cc4bbd6a..722849d1a 100644 --- a/src/HDFPersist/HDFdatasetGetType.c +++ b/src/HDFPersist/HDFdatasetGetType.c @@ -34,14 +34,12 @@ HDFdatasetGetType(hdf_idt id) { hdf_idt type_id; hdf_type type; - hdf_class_type hdf_type; hdf_size_type size; if ((type_id = H5Dget_type(id)) < 0) return HDF_NONE; - hdf_type = H5Tget_class(type_id); - switch (hdf_type) + switch (H5Tget_class(type_id)) { case H5T_INTEGER : size = H5Tget_size(type_id);