summaryrefslogtreecommitdiffstats
path: root/tools/gifconv/readhdf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gifconv/readhdf.c')
-rw-r--r--tools/gifconv/readhdf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/gifconv/readhdf.c b/tools/gifconv/readhdf.c
index 52a1837..76bfb86 100644
--- a/tools/gifconv/readhdf.c
+++ b/tools/gifconv/readhdf.c
@@ -38,7 +38,6 @@ int ReadHDF(BYTE** data ,
hid_t pal_set; /* dataset for palette */
hid_t pal_space;/* dataspace for palette */
hsize_t datasize; /* size of the image */
- hsize_t maxdims; /* dummy */
int pal_exist = 0; /* do we have a palette? */
/* check stuff */
@@ -72,7 +71,7 @@ int ReadHDF(BYTE** data ,
}
/* get the dimension size of the image */
- if (H5Sget_simple_extent_dims(dspace , image_size , &maxdims) !=2 ) {
+ if (H5Sget_simple_extent_dims(dspace , image_size , NULL) !=2 ) {
fprintf(stderr , "Unable to get dimension info\n");
return -1;
}