summaryrefslogtreecommitdiffstats
path: root/src/H5Gdeprec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Gdeprec.c')
-rw-r--r--src/H5Gdeprec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Gdeprec.c b/src/H5Gdeprec.c
index 997bf39..2916198 100644
--- a/src/H5Gdeprec.c
+++ b/src/H5Gdeprec.c
@@ -969,7 +969,10 @@ H5G__get_objinfo(const H5G_loc_t *loc, const char *name, hbool_t follow_link, H5
/* Get information about link to the object. If this fails, e.g.
* because the object is ".", just treat the object as a hard link. */
- H5E_BEGIN_TRY { ret = H5L_get_info(loc, name, &linfo); }
+ H5E_BEGIN_TRY
+ {
+ ret = H5L_get_info(loc, name, &linfo);
+ }
H5E_END_TRY
if (ret >= 0 && linfo.type != H5L_TYPE_HARD) {