commit 854c0df70e1bc6a663cdcbd84d3643952371ef9a
parent a4c894c5d1c58a24150d62727ec0b50554bf3d13
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Wed, 20 Jun 2018 13:27:22 +0200
Explicit zeroing field out.
The "meta" field from the 'struct TALER_TESTING_Command'
- recently introduced - keeps taking a non-zero value upon
struct declaration. This called for a manual zeroing of
that field.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/twister/testing_api_cmd_exec_client.c b/src/twister/testing_api_cmd_exec_client.c
@@ -651,7 +651,7 @@ TALER_TESTING_cmd_flip_upload (const char *label,
const char *path)
{
struct FlipObjectState *dos;
- struct TALER_TESTING_Command cmd;
+ struct TALER_TESTING_Command cmd = {0};
dos = GNUNET_new (struct FlipObjectState);
dos->path = path;