diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-02-06 16:33:47 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-02-06 16:33:47 (GMT) |
commit | 7ffbea9c2416c272aeb04ad33f6944cdc2533ff3 (patch) | |
tree | eff9a549839e4763ada8cf4674cbd20574a3ad54 /hl | |
parent | 35c1f3682e1f41c716ddc1c55ff66f33574b2460 (diff) | |
download | hdf5-7ffbea9c2416c272aeb04ad33f6944cdc2533ff3.zip hdf5-7ffbea9c2416c272aeb04ad33f6944cdc2533ff3.tar.gz hdf5-7ffbea9c2416c272aeb04ad33f6944cdc2533ff3.tar.bz2 |
[svn-r11919] Purpose:
some code cleaning
Description:
Solution:
Platforms tested:
none
Misc. update:
Diffstat (limited to 'hl')
-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"); |