diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-09-18 18:08:04 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-09-18 18:08:04 (GMT) |
commit | 6eb624a09d282d0f1346afe769f0fb2654b4de58 (patch) | |
tree | d2c7d29e609b1f31ef71390a0c61da603f8d779e /tools/h5repack/h5repack_parse.c | |
parent | fffa1adc9aa4f0e2b099f130750346b4526c15d1 (diff) | |
download | hdf5-6eb624a09d282d0f1346afe769f0fb2654b4de58.zip hdf5-6eb624a09d282d0f1346afe769f0fb2654b4de58.tar.gz hdf5-6eb624a09d282d0f1346afe769f0fb2654b4de58.tar.bz2 |
[svn-r15653] cleaned warnings
tested: windows, linux
Diffstat (limited to 'tools/h5repack/h5repack_parse.c')
-rw-r--r-- | tools/h5repack/h5repack_parse.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/tools/h5repack/h5repack_parse.c b/tools/h5repack/h5repack_parse.c index f7188bf..d684da8 100644 --- a/tools/h5repack/h5repack_parse.c +++ b/tools/h5repack/h5repack_parse.c @@ -412,7 +412,7 @@ obj_list_t* parse_filter(const char *str, */ case H5Z_FILTER_DEFLATE: - if (filt->cd_values[0]<0 || filt->cd_values[0]>9 ) + if (filt->cd_values[0]>9 ) { if (obj_list) free(obj_list); error_msg(progname, "invalid compression parameter in <%s>\n",str); @@ -447,19 +447,7 @@ obj_list_t* parse_filter(const char *str, } break; - /*------------------------------------------------------------------------- - * H5Z_FILTER_SCALEOFFSET - *------------------------------------------------------------------------- - */ - - case H5Z_FILTER_SCALEOFFSET: - if (filt->cd_values[0]<0 ) - { - if (obj_list) free(obj_list); - error_msg(progname, "invalid compression parameter in <%s>\n",str); - exit(1); - } - break; + }; return obj_list; |