diff options
Diffstat (limited to 'hl/tools/gif2h5/writehdf.c')
-rw-r--r-- | hl/tools/gif2h5/writehdf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hl/tools/gif2h5/writehdf.c b/hl/tools/gif2h5/writehdf.c index ee7998c..7313d2e 100644 --- a/hl/tools/gif2h5/writehdf.c +++ b/hl/tools/gif2h5/writehdf.c @@ -18,7 +18,6 @@ #include "gif.h" #include "H5IM.h" - /*------------------------------------------------------------------------- * Function: WriteHDF * @@ -77,8 +76,6 @@ WriteHDF(GIFTOMEM GifMemoryStruct, char *HDFName , char *GIFFileName) if (gifHead.PackedField & 0x80) { /* global palette exists */ hsize_t dims[2]; /* specify the dimensions of the palette */ - hsize_t dimsr[1] = {1}; /* needed to store reference */ - /* size of the palette is tablesize (rows) X 3 (columns) */ dims[0] = gifHead.TableSize; dims[1] = 3; @@ -97,7 +94,6 @@ WriteHDF(GIFTOMEM GifMemoryStruct, char *HDFName , char *GIFFileName) dims[0] = gifImageDesc->ImageHeight; dims[1] = gifImageDesc->ImageWidth; - /* create the image name */ sprintf(ImageName , "Image%d" , i); @@ -110,7 +106,6 @@ WriteHDF(GIFTOMEM GifMemoryStruct, char *HDFName , char *GIFFileName) return -1; } - /* close the H5 file */ if (H5Fclose(file_id) < 0) { fprintf(stderr , "Could not close HDF5 file. Aborting...\n"); |