From b1ac03cdb539697f2c6b4a2271a9955c640aeae0 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Wed, 31 Jan 2001 11:04:24 -0500 Subject: [PATCH] [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) --- c++/src/H5DataSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp index d9578b0db3..883d1d3d0c 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.