Add goto error for dataset read failure. Fixed comments

This commit is contained in:
Allen Byrne
2017-01-17 09:55:15 -06:00
parent 509b6c24a7
commit be260bbf75
2 changed files with 87 additions and 84 deletions

View File

@@ -89,6 +89,9 @@ hsize_t diff_dataset( hid_t file1_id,
obj2_name,
options);
}
else
goto error;
/*-------------------------------------------------------------------------
* close
*-------------------------------------------------------------------------