summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 80e17f0..16476e8 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -807,8 +807,7 @@ H5G_register_type(int type, htri_t(*isa)(H5G_entry_t*), const char *_desc)
H5G_type_g[i].isa = isa;
H5MM_xfree(H5G_type_g[i].desc);
H5G_type_g[i].desc = desc;
- ret_value = SUCCEED;
- goto done;
+ HGOTO_DONE(SUCCEED);
}
}