aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_age_withdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_age_withdraw.c')
-rw-r--r--src/testing/testing_api_cmd_age_withdraw.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/testing/testing_api_cmd_age_withdraw.c b/src/testing/testing_api_cmd_age_withdraw.c
index ed08773c7..3192fc9b1 100644
--- a/src/testing/testing_api_cmd_age_withdraw.c
+++ b/src/testing/testing_api_cmd_age_withdraw.c
@@ -742,16 +742,17 @@ TALER_TESTING_cmd_age_withdraw_reveal (
awrs->age_withdraw_reference = age_withdraw_reference;
awrs->expected_response_code = expected_response_code;
+ {
+ struct TALER_TESTING_Command cmd = {
+ .cls = awrs,
+ .label = label,
+ .run = age_withdraw_reveal_run,
+ .cleanup = age_withdraw_reveal_cleanup,
+ .traits = age_withdraw_reveal_traits,
+ };
- struct TALER_TESTING_Command cmd = {
- .cls = awrs,
- .label = label,
- .run = age_withdraw_reveal_run,
- .cleanup = age_withdraw_reveal_cleanup,
- .traits = age_withdraw_reveal_traits,
- };
-
- return cmd;
+ return cmd;
+ }
}