[svn-r29710] Purpose: Code improvements
Description:
- Replaced "goto out" and "out:" with "goto error" and "error:" to indicate
the failure situations.
- Replaced old-style casts with static_cast to remove warnings.
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
|
||||
/* GetDatatype
|
||||
* Returns the datatype identifier used by the packet table, on success,
|
||||
* or FAIL, on failure.
|
||||
* or H5I_INVALID_HID, on failure.
|
||||
* Note: it is best to avoid using this identifier in applications, unless
|
||||
* the desired functionality cannot be performed via the packet table ID.
|
||||
*/
|
||||
@@ -141,7 +141,7 @@
|
||||
|
||||
/* GetDataset
|
||||
* Returns the dataset identifier associated with the packet table, on
|
||||
* success, or FAIL, on failure.
|
||||
* success, or H5I_INVALID_HID, on failure.
|
||||
* Note: it is best to avoid using this identifier in applications, unless
|
||||
* the desired functionality cannot be performed via the packet table ID.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user