diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2001-12-05 16:03:14 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2001-12-05 16:03:14 (GMT) |
commit | 2167e3c495aada1c47375cdf923d26c583dce768 (patch) | |
tree | bee67ca9969f2d1c2643f6064139b881a901f11e /c++/src/H5FaccProp.cpp | |
parent | 4a124d00cc1ffe395ffc45a8c1a44ac63390b364 (diff) | |
download | hdf5-2167e3c495aada1c47375cdf923d26c583dce768.zip hdf5-2167e3c495aada1c47375cdf923d26c583dce768.tar.gz hdf5-2167e3c495aada1c47375cdf923d26c583dce768.tar.bz2 |
[svn-r4668]
Purpose:
Eliminated warnings
Description:
On IRIX and Windows 98, if a function, that returns a value, throws
an exception in "else" statement, the compiler still complains that
the function doesn't return a value.
Solution:
Replaced:
if (something valid)
return a value
else
throw an exception
with:
if (something invalid)
throw an exception
return a value
Platforms tested:
Windows 98
SunOS 5.7 (arabica)
Linux 6.2 (eirene)
IRIX64 (modi4) - only tested that the warnings went away, still working
on other configuration problems.
Diffstat (limited to 'c++/src/H5FaccProp.cpp')
0 files changed, 0 insertions, 0 deletions