src/H5Block.c

- H5PartReadFieldAttrib()
		* missing error handling added after reading attribute
This commit is contained in:
2006-09-19 01:18:00 +00:00
parent 5d9b13e15e
commit 792ae9a597
+3 -3
View File
@@ -1461,11 +1461,10 @@ H5BlockReadFieldAttrib (
SET_FNAME ( "H5PartReadFieldAttrib" );
struct H5BlockStruct *b;
CHECK_FILEHANDLE ( f );
CHECK_TIMEGROUP( f );
b = f->block;
struct H5BlockStruct *b = f->block;
herr_t herr = _init ( f );
if ( herr < 0 ) return herr;
@@ -1477,6 +1476,7 @@ H5BlockReadFieldAttrib (
b->field_group_id,
attrib_name,
attrib_value );
if ( herr < 0 ) return herr;
herr = _close_field_group ( f );
if ( herr < 0 ) return herr;