summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSet.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2002-03-01 21:10:29 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2002-03-01 21:10:29 (GMT)
commit0bb7111f436731fc765b00c8ef17368d1f57b126 (patch)
treee5e64bc9e8e475c24ccc01da98c88ffb19d60553 /c++/src/H5DataSet.cpp
parent3f4184c6d3795acad440206f0bd88d89df21a137 (diff)
downloadhdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.zip
hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.gz
hdf5-0bb7111f436731fc765b00c8ef17368d1f57b126.tar.bz2
[svn-r5030]
Purpose: Small bug fixing Description: Replaced NULL by 0 for initializing or passing null "string". The problem showed up on platinum. Platforms tested: SunOS 5.7 (arabica) Linux 6.2 (eirene) IA-32 Linux Cluster (platinum)
Diffstat (limited to 'c++/src/H5DataSet.cpp')
-rw-r--r--c++/src/H5DataSet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp
index 0f91298..9817b17 100644
--- a/c++/src/H5DataSet.cpp
+++ b/c++/src/H5DataSet.cpp
@@ -55,7 +55,7 @@ hid_t DataSet::p_getType() const
return( type_id );
else
{
- throw DataSetIException(NULL, "H5Dget_type failed");
+ throw DataSetIException(0, "H5Dget_type failed");
}
}
@@ -187,7 +187,7 @@ void DataSet::p_close() const
herr_t ret_value = H5Dclose( id );
if( ret_value < 0 )
{
- throw DataSetIException(NULL, "H5Dclose failed");
+ throw DataSetIException(0, "H5Dclose failed");
}
}