summaryrefslogtreecommitdiffstats
path: root/src/H5Adeprec.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-15 18:00:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-15 18:00:20 (GMT)
commit2bacd3d4d745e5e78c55d83e1b4d3699a800bf88 (patch)
tree7ff2e1457af229dd21377863137001ab4b7ed609 /src/H5Adeprec.c
parent833db1dd16f21c352df8ea4d291ab14445292aad (diff)
downloadhdf5-2bacd3d4d745e5e78c55d83e1b4d3699a800bf88.zip
hdf5-2bacd3d4d745e5e78c55d83e1b4d3699a800bf88.tar.gz
hdf5-2bacd3d4d745e5e78c55d83e1b4d3699a800bf88.tar.bz2
[svn-r18564] Description:
Clean up compiler warnings. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (too simple to require h5committest)
Diffstat (limited to 'src/H5Adeprec.c')
-rw-r--r--src/H5Adeprec.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/H5Adeprec.c b/src/H5Adeprec.c
index 77f5736..2b244fd 100644
--- a/src/H5Adeprec.c
+++ b/src/H5Adeprec.c
@@ -334,6 +334,19 @@ H5Aget_num_attrs(hid_t loc_id)
HGOTO_ERROR(H5E_ATTR, H5E_CANTGET, FAIL, "can't get location for object")
break;
+ case H5I_UNINIT:
+ case H5I_BADID:
+ case H5I_FILE:
+ case H5I_DATASPACE:
+ case H5I_ATTR:
+ case H5I_REFERENCE:
+ case H5I_VFL:
+ case H5I_GENPROP_CLS:
+ case H5I_GENPROP_LST:
+ case H5I_ERROR_CLASS:
+ case H5I_ERROR_MSG:
+ case H5I_ERROR_STACK:
+ case H5I_NTYPES:
default:
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "inappropriate attribute target")
} /*lint !e788 All appropriate cases are covered */