Commit 792ae9a5 authored by gsell's avatar gsell

src/H5Block.c

	- H5PartReadFieldAttrib()
		* missing error handling added after reading attribute
parent 5d9b13e1
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment