summaryrefslogtreecommitdiffstats
path: root/src/H5RA.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5RA.c')
-rw-r--r--src/H5RA.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5RA.c b/src/H5RA.c
index 11d02e9..1f05424 100644
--- a/src/H5RA.c
+++ b/src/H5RA.c
@@ -431,8 +431,8 @@ H5RA_isa(H5G_entry_t *ent)
}
/* Is `raw' a dataset? */
- if (H5G_find(ent, "raw", NULL, &d_ent)<0 ||
- (exists=H5D_isa(&d_ent))<0) {
+ if (H5G_find(ent, "raw", NULL, &d_ent)<0) HRETURN(FALSE);
+ if ((exists=H5D_isa(&d_ent))<0) {
HRETURN_ERROR(H5E_DATASET, H5E_NOTFOUND, FAIL, "not found");
} else if (!exists) {
HRETURN(FALSE);