summaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.c
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2017-02-25 12:54:36 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2017-02-25 21:03:41 +0000
commitfa08d5e7122936f2adc73babf3ff83608d07620c (patch)
tree6594263c9420b16f8762fdd3af94a2558d894650 /src/revocation/gnunet-service-revocation.c
parent31f699c7eeacc991abad778f881f51b0dbdcbc6d (diff)
Fix an initialization warning (GCC bug 53119)
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index b5669d9ea..0ac963f63 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -509,7 +509,7 @@ transmit_task_cb (void *cls)
&revocation_set_union_app_id,
NULL,
GNUNET_SET_RESULT_ADDED,
- (struct GNUNET_SET_Option[]) { 0 },
+ (struct GNUNET_SET_Option[]) {{ 0 }},
&add_revocation,
peer_entry);
if (GNUNET_OK !=
@@ -756,7 +756,7 @@ handle_revocation_union_request (void *cls,
}
peer_entry->so = GNUNET_SET_accept (request,
GNUNET_SET_RESULT_ADDED,
- (struct GNUNET_SET_Option[]) { 0 },
+ (struct GNUNET_SET_Option[]) {{ 0 }},
&add_revocation,
peer_entry);
if (GNUNET_OK !=