aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-06-20 23:03:08 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-06-20 23:03:08 +0200
commit402a8b42d127a061f690dff026b31d3a7f38011c (patch)
tree7fffe93128919a3fa1de455c2f2616db4e010aac
parentfeec78dd56f261dac02899c2dc96019d95f94d13 (diff)
explicit zeroing.
-rw-r--r--src/exchange-lib/testing_api_cmd_deposit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_cmd_deposit.c b/src/exchange-lib/testing_api_cmd_deposit.c
index e8bcf0289..d5c0542a3 100644
--- a/src/exchange-lib/testing_api_cmd_deposit.c
+++ b/src/exchange-lib/testing_api_cmd_deposit.c
@@ -416,7 +416,7 @@ TALER_TESTING_cmd_deposit
const char *amount,
unsigned int expected_response_code)
{
- struct TALER_TESTING_Command cmd;
+ struct TALER_TESTING_Command cmd = {0}; /* need explicit zeroing..*/
struct DepositState *ds;
ds = GNUNET_new (struct DepositState);