summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-05 19:50:50 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-12-05 19:50:50 (GMT)
commit9bea2a7ffbb51d14387fa71060ad6bafc8d443af (patch)
tree0d3c0a6c7ca5114139c571516556346765372960 /hl
parenta00d43c431a4ab6581ab482fc7ddd27a9269e5a3 (diff)
downloadhdf5-9bea2a7ffbb51d14387fa71060ad6bafc8d443af.zip
hdf5-9bea2a7ffbb51d14387fa71060ad6bafc8d443af.tar.gz
hdf5-9bea2a7ffbb51d14387fa71060ad6bafc8d443af.tar.bz2
[svn-r13023]
cleaned compiler warnings on hl
Diffstat (limited to 'hl')
-rw-r--r--hl/src/H5IM.c16
-rw-r--r--hl/src/H5LT.c4
2 files changed, 11 insertions, 9 deletions
diff --git a/hl/src/H5IM.c b/hl/src/H5IM.c
index 060387c..8ca9806 100644
--- a/hl/src/H5IM.c
+++ b/hl/src/H5IM.c
@@ -523,10 +523,10 @@ herr_t H5IMlink_palette( hid_t loc_id,
{
hid_t image_id;
- hid_t attr_type;
- hid_t attr_id;
- hid_t attr_space_id;
- hid_t attr_class;
+ hid_t attr_type=-1;
+ hid_t attr_id=-1;
+ hid_t attr_space_id=-1;
+ hid_t attr_class=-1;
hobj_ref_t ref; /* write a new reference */
hobj_ref_t *refbuf; /* buffer to read references */
hssize_t n_refs;
@@ -875,9 +875,9 @@ herr_t H5IMget_palette_info( hid_t loc_id,
{
hid_t image_id;
int has_pal;
- hid_t attr_type;
+ hid_t attr_type=-1;
hid_t attr_id;
- hid_t attr_space_id;
+ hid_t attr_space_id=-1;
hid_t attr_class;
hssize_t n_refs;
hsize_t dim_ref;
@@ -989,9 +989,9 @@ herr_t H5IMget_palette( hid_t loc_id,
{
hid_t image_id;
int has_pal;
- hid_t attr_type;
+ hid_t attr_type=-1;
hid_t attr_id;
- hid_t attr_space_id;
+ hid_t attr_space_id=-1;
hid_t attr_class;
hssize_t n_refs;
hsize_t dim_ref;
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c
index 12036ea..53f8ed9 100644
--- a/hl/src/H5LT.c
+++ b/hl/src/H5LT.c
@@ -3623,4 +3623,6 @@ out:
return -1;
}
-#endif /* NOT_YET */ \ No newline at end of file
+#endif /* NOT_YET */
+
+