aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Output.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Output.c b/src/Output.c
index 958ce62..05b6789 100644
--- a/src/Output.c
+++ b/src/Output.c
@@ -129,9 +129,12 @@ int IOHDF5_OutputGH (const cGH *GH)
@@*/
int IOHDF5_OutputVarAs (const cGH *GH, const char *fullname, const char *alias)
{
- callback_info_t info = {GH, fullname, alias, 0};
+ callback_info_t info;
+ info.GH = GH;
+ info.fullname = fullname;
+ info.alias = alias;
CCTK_TraverseString (fullname, OutputVarAs, &info, CCTK_VAR);
return (info.retval);
}