summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/hdf2gif.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-02-17 02:51:21 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-02-17 02:51:21 (GMT)
commitb8dbd390db9b47e73c6120ba61724b1e20ab333d (patch)
tree1fbcef76bf2cc480c2a57e5e26b599f82d85bc7c /hl/tools/gif2h5/hdf2gif.c
parent855aa23823a1091262524773626de3d920838e72 (diff)
downloadhdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.zip
hdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.tar.gz
hdf5-b8dbd390db9b47e73c6120ba61724b1e20ab333d.tar.bz2
[svn-r4978] Purpose:
Code cleanup Description: Cleanup compiler warnings found by the SGI compiler and gcc 3.0 Platforms tested: FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
Diffstat (limited to 'hl/tools/gif2h5/hdf2gif.c')
-rw-r--r--hl/tools/gif2h5/hdf2gif.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hl/tools/gif2h5/hdf2gif.c b/hl/tools/gif2h5/hdf2gif.c
index cc7bab4..40051dc 100644
--- a/hl/tools/gif2h5/hdf2gif.c
+++ b/hl/tools/gif2h5/hdf2gif.c
@@ -22,9 +22,6 @@
#define MAX_FILE_LEN 256
#define MAX_NUMBER_IMAGES 50
-extern int hdfWriteGIF(FILE *fp, BYTE *pic, int ptype, int w, int h,
- BYTE *rmap, BYTE *gmap, BYTE *bmap, BYTE *pc2ncmap,
- int numcols, int colorstyle, int BitsPerPixel);
int EndianOrder;
#ifdef NOT_USED
@@ -67,7 +64,6 @@ int main(int argc , char **argv)
/* reference variables */
int has_local_palette; /* treated as a flag */
- int loop_times; /* number of times to loop, treat it as yes/no */
BYTE* b;
@@ -304,10 +300,8 @@ int main(int argc , char **argv)
/* Write out the GIF header and logical screen descriptor */
if (n_images > 1) {
fwrite("GIF89a", 1, 6, fpGif); /* the GIF magic number */
- loop_times = 0;
} else {
fwrite("GIF87a", 1, 6, fpGif); /* the GIF magic number */
- loop_times = 1;
}
putword(RWidth, fpGif); /* screen descriptor */