summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/hdf2gif.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-11-04 03:23:30 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-11-04 03:23:30 (GMT)
commit965e3bc3e20cefeb81b0b88002c1dc42d197c2ff (patch)
tree6fe49900b179c79bf8904760ce6b60953d70021e /hl/tools/gif2h5/hdf2gif.c
parentbd74bf3ff0139edfcd565989458cbbcaeaf6bfb6 (diff)
downloadhdf5-965e3bc3e20cefeb81b0b88002c1dc42d197c2ff.zip
hdf5-965e3bc3e20cefeb81b0b88002c1dc42d197c2ff.tar.gz
hdf5-965e3bc3e20cefeb81b0b88002c1dc42d197c2ff.tar.bz2
[svn-r4591] Purpose:
Code cleanup Description: Fix a bunch of warnings Platforms tested: Linux 2.2 (eirene)
Diffstat (limited to 'hl/tools/gif2h5/hdf2gif.c')
-rw-r--r--hl/tools/gif2h5/hdf2gif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/tools/gif2h5/hdf2gif.c b/hl/tools/gif2h5/hdf2gif.c
index 9b5eebc..c2ddb10 100644
--- a/hl/tools/gif2h5/hdf2gif.c
+++ b/hl/tools/gif2h5/hdf2gif.c
@@ -106,8 +106,8 @@ int main(int argc , char **argv)
return 0;
}
- memset(image_name_arr , NULL , MAX_NUMBER_IMAGES);
- memset(pal_name_arr , NULL , MAX_NUMBER_IMAGES);
+ memset(image_name_arr , 0 , MAX_NUMBER_IMAGES);
+ memset(pal_name_arr , 0 , MAX_NUMBER_IMAGES);
HDFName = (CHAR *)malloc (strlen(argv[1]) + 1);
GIFName = (CHAR *)malloc (strlen(argv[2]) + 1);