From 67c2e3aa27d0568a0e68c4cecc02417a26c52980 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 9 Feb 2012 10:25:08 -0500 Subject: [svn-r21921] Description: Add more braces to master conversion macro that was changed in r21919 Tested on: Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel --- src/H5Tconv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/H5Tconv.c b/src/H5Tconv.c index ab538e8..6795ef1 100644 --- a/src/H5Tconv.c +++ b/src/H5Tconv.c @@ -602,6 +602,7 @@ /* The main part of every integer hardware conversion macro */ #define H5T_CONV(GUTS,STYPE,DTYPE,ST,DT,D_MIN,D_MAX) \ +{ \ herr_t ret_value=SUCCEED; /* Return value */ \ \ FUNC_ENTER_NOAPI(FAIL) \ @@ -753,7 +754,8 @@ } \ \ done: \ - FUNC_LEAVE_NOAPI(ret_value) + FUNC_LEAVE_NOAPI(ret_value) \ +} /* Macro defining action on source data which needs to be aligned (before main action) */ #define H5T_CONV_LOOP_PRE_SALIGN(ST) { \ -- cgit v0.12