summaryrefslogtreecommitdiffstats
path: root/c++/src/H5PredType.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2009-10-04 02:15:24 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2009-10-04 02:15:24 (GMT)
commita83c61c53741f15e21451421d9422ac1ba306504 (patch)
tree1c1367ecba46ad95cea2f2c837cd2d03022f5b09 /c++/src/H5PredType.cpp
parenteed2ea424b233c451c81569aa2df48c99bc8c79e (diff)
downloadhdf5-a83c61c53741f15e21451421d9422ac1ba306504.zip
hdf5-a83c61c53741f15e21451421d9422ac1ba306504.tar.gz
hdf5-a83c61c53741f15e21451421d9422ac1ba306504.tar.bz2
[svn-r17587] Purpose:
Fixed bugzilla #1061 Description: Added a check for NULL before accessing a pointer Also, removed a few warnings about returning values Platforms tested: Linux/32 2.6 (jam) FreeBSD/64 6.3 (liberty) SunOS 5.10 (linew)
Diffstat (limited to 'c++/src/H5PredType.cpp')
-rw-r--r--c++/src/H5PredType.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/c++/src/H5PredType.cpp b/c++/src/H5PredType.cpp
index 2ec3ba5..347f02f 100644
--- a/c++/src/H5PredType.cpp
+++ b/c++/src/H5PredType.cpp
@@ -289,7 +289,6 @@ void PredType::commit( H5Object& loc, const H5std_string& name )
bool PredType::committed()
{
throw DataTypeIException("PredType::committed", "Error: Attempting to check for commit status on a predefined datatype." );
- return (0);
}
#endif // DOXYGEN_SHOULD_SKIP_THIS