summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2004-05-05 20:25:26 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2004-05-05 20:25:26 (GMT)
commit49962582685cd642226f4af26c10487323f2490a (patch)
treea66a172042fbc945a4319fa67a1440d2fe6d9357 /src
parent7f99a80b0abee64d09ada9be749196cf8185eaf2 (diff)
downloadhdf5-49962582685cd642226f4af26c10487323f2490a.zip
hdf5-49962582685cd642226f4af26c10487323f2490a.tar.gz
hdf5-49962582685cd642226f4af26c10487323f2490a.tar.bz2
[svn-r8483] Purpose:
Bug fix Description: Fix problems compiling with g++. Platforms tested: FreeBSD 4.9 (sleipnir) w/CC=g++
Diffstat (limited to 'src')
-rw-r--r--src/H5Ztrans.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/H5Ztrans.c b/src/H5Ztrans.c
index 3d1ff41..04f3a52 100644
--- a/src/H5Ztrans.c
+++ b/src/H5Ztrans.c
@@ -380,11 +380,12 @@ done:
static H5Z_node *
H5Z_parse_expression(H5Z_token *current)
{
+ H5Z_node *expr;
void* ret_value=NULL;
-
- FUNC_ENTER_NOAPI(H5Z_parse_expression, NULL)
- H5Z_node *expr = H5Z_parse_term(current);
+ FUNC_ENTER_NOAPI_NOINIT(H5Z_parse_expression)
+
+ expr = H5Z_parse_term(current);
for (;;) {
H5Z_node *new_node;
@@ -447,8 +448,6 @@ H5Z_parse_expression(H5Z_token *current)
done:
FUNC_LEAVE_NOAPI(expr)
-
-
}