summaryrefslogtreecommitdiffstats
path: root/c++/src/H5IdComponent.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-07-08 19:48:45 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-07-08 19:48:45 (GMT)
commitc3bfac06392131adaec4744d50274e75638f76b6 (patch)
tree3eff702dce697ffada3971d54ec94294a11a1543 /c++/src/H5IdComponent.cpp
parentc19e495c00193859a9cb3d0d25b52e6d9b379784 (diff)
downloadhdf5-c3bfac06392131adaec4744d50274e75638f76b6.zip
hdf5-c3bfac06392131adaec4744d50274e75638f76b6.tar.gz
hdf5-c3bfac06392131adaec4744d50274e75638f76b6.tar.bz2
[svn-r8837] Purpose: Update doc and fix minor bug
Description: H5IdComponent.cpp: initialized a pointer to NULL H5Object.cpp: removed functions being added by mistake Update function headers for the rest. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
Diffstat (limited to 'c++/src/H5IdComponent.cpp')
-rw-r--r--c++/src/H5IdComponent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5IdComponent.cpp b/c++/src/H5IdComponent.cpp
index f04039b..7ccb7ff 100644
--- a/c++/src/H5IdComponent.cpp
+++ b/c++/src/H5IdComponent.cpp
@@ -190,7 +190,7 @@ IdComponent::~IdComponent() {
//--------------------------------------------------------------------------
void* IdComponent::p_reference(const char* name, hid_t space_id, H5R_type_t ref_type) const
{
- void *ref;
+ void *ref=NULL;
herr_t ret_value = H5Rcreate(ref, id, name, ref_type, space_id);
if (ret_value < 0)
{