summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2001-01-31 16:04:24 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2001-01-31 16:04:24 (GMT)
commitb1ac03cdb539697f2c6b4a2271a9955c640aeae0 (patch)
tree57a0baffd383b7399f463dadabf7e5f03283e2c0
parent11efb889c6847da265daf34624b6b13667ad7f42 (diff)
downloadhdf5-b1ac03cdb539697f2c6b4a2271a9955c640aeae0.zip
hdf5-b1ac03cdb539697f2c6b4a2271a9955c640aeae0.tar.gz
hdf5-b1ac03cdb539697f2c6b4a2271a9955c640aeae0.tar.bz2
[svn-r3337]
Purpose: Small bug fix Description: A stub function has returned type hsize_t but returns -1. Solution: Changed returned value from -1 to 0 Platforms tested: Solaris (arabica)
-rw-r--r--c++/src/H5DataSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp
index d9578b0..883d1d3 100644
--- a/c++/src/H5DataSet.cpp
+++ b/c++/src/H5DataSet.cpp
@@ -102,7 +102,7 @@ hsize_t DataSet::getVlenBufSize( DataType& type, DataSpace& space ) const
//{
//throw DataSetIException();
//}
- return (-1);
+ return (0);
}
// Reclaims VL datatype memory buffers.