diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2002-03-01 21:10:29 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2002-03-01 21:10:29 (GMT) |
commit | 0bb7111f436731fc765b00c8ef17368d1f57b126 (patch) | |
tree | e5e64bc9e8e475c24ccc01da98c88ffb19d60553 /c++/src/H5Attribute.cpp | |
parent | 3f4184c6d3795acad440206f0bd88d89df21a137 (diff) | |
download | hdf5-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/H5Attribute.cpp')
-rw-r--r-- | c++/src/H5Attribute.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp index fa37059..feb946b 100644 --- a/c++/src/H5Attribute.cpp +++ b/c++/src/H5Attribute.cpp @@ -72,7 +72,7 @@ hid_t Attribute::p_getType() const return( type_id ); else { - throw AttributeIException(NULL, "H5Aget_type failed"); + throw AttributeIException(0, "H5Aget_type failed"); } } @@ -111,7 +111,7 @@ void Attribute::p_close() const herr_t ret_value = H5Aclose( id ); if( ret_value < 0 ) { - throw AttributeIException(NULL, "H5Aclose failed"); + throw AttributeIException(0, "H5Aclose failed"); } } |