diff options
-rw-r--r-- | src/revocation/gnunet-service-revocation.c | 4 | ||||
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c | 2 | ||||
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c | 2 | ||||
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct_alice.c | 2 | ||||
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct_bob.c | 2 | ||||
-rw-r--r-- | src/set/gnunet-service-set_union.c | 2 | ||||
-rw-r--r-- | src/set/gnunet-set-profiler.c | 4 |
7 files changed, 9 insertions, 9 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) | |||
509 | &revocation_set_union_app_id, | 509 | &revocation_set_union_app_id, |
510 | NULL, | 510 | NULL, |
511 | GNUNET_SET_RESULT_ADDED, | 511 | GNUNET_SET_RESULT_ADDED, |
512 | (struct GNUNET_SET_Option[]) { 0 }, | 512 | (struct GNUNET_SET_Option[]) {{ 0 }}, |
513 | &add_revocation, | 513 | &add_revocation, |
514 | peer_entry); | 514 | peer_entry); |
515 | if (GNUNET_OK != | 515 | if (GNUNET_OK != |
@@ -756,7 +756,7 @@ handle_revocation_union_request (void *cls, | |||
756 | } | 756 | } |
757 | peer_entry->so = GNUNET_SET_accept (request, | 757 | peer_entry->so = GNUNET_SET_accept (request, |
758 | GNUNET_SET_RESULT_ADDED, | 758 | GNUNET_SET_RESULT_ADDED, |
759 | (struct GNUNET_SET_Option[]) { 0 }, | 759 | (struct GNUNET_SET_Option[]) {{ 0 }}, |
760 | &add_revocation, | 760 | &add_revocation, |
761 | peer_entry); | 761 | peer_entry); |
762 | if (GNUNET_OK != | 762 | if (GNUNET_OK != |
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c index 34149435c..b7b839b6f 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_alice.c | |||
@@ -788,7 +788,7 @@ cb_intersection_request_alice (void *cls, | |||
788 | s->intersection_op | 788 | s->intersection_op |
789 | = GNUNET_SET_accept (request, | 789 | = GNUNET_SET_accept (request, |
790 | GNUNET_SET_RESULT_REMOVED, | 790 | GNUNET_SET_RESULT_REMOVED, |
791 | (struct GNUNET_SET_Option[]) { 0 }, | 791 | (struct GNUNET_SET_Option[]) {{ 0 }}, |
792 | &cb_intersection_element_removed, | 792 | &cb_intersection_element_removed, |
793 | s); | 793 | s); |
794 | if (NULL == s->intersection_op) | 794 | if (NULL == s->intersection_op) |
diff --git a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c index db8241bb7..8a5b3a5b2 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c +++ b/src/scalarproduct/gnunet-service-scalarproduct-ecc_bob.c | |||
@@ -670,7 +670,7 @@ start_intersection (struct BobServiceSession *s) | |||
670 | &set_sid, | 670 | &set_sid, |
671 | NULL, | 671 | NULL, |
672 | GNUNET_SET_RESULT_REMOVED, | 672 | GNUNET_SET_RESULT_REMOVED, |
673 | (struct GNUNET_SET_Option[]) { 0 }, | 673 | (struct GNUNET_SET_Option[]) {{ 0 }}, |
674 | &cb_intersection_element_removed, | 674 | &cb_intersection_element_removed, |
675 | s); | 675 | s); |
676 | if (GNUNET_OK != | 676 | if (GNUNET_OK != |
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_alice.c b/src/scalarproduct/gnunet-service-scalarproduct_alice.c index f99ff6168..697baa9bd 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct_alice.c +++ b/src/scalarproduct/gnunet-service-scalarproduct_alice.c | |||
@@ -1022,7 +1022,7 @@ cb_intersection_request_alice (void *cls, | |||
1022 | s->intersection_op | 1022 | s->intersection_op |
1023 | = GNUNET_SET_accept (request, | 1023 | = GNUNET_SET_accept (request, |
1024 | GNUNET_SET_RESULT_REMOVED, | 1024 | GNUNET_SET_RESULT_REMOVED, |
1025 | (struct GNUNET_SET_Option[]) { 0 }, | 1025 | (struct GNUNET_SET_Option[]) {{ 0 }}, |
1026 | &cb_intersection_element_removed, | 1026 | &cb_intersection_element_removed, |
1027 | s); | 1027 | s); |
1028 | if (NULL == s->intersection_op) | 1028 | if (NULL == s->intersection_op) |
diff --git a/src/scalarproduct/gnunet-service-scalarproduct_bob.c b/src/scalarproduct/gnunet-service-scalarproduct_bob.c index efc3bc8ea..5d2df017b 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct_bob.c +++ b/src/scalarproduct/gnunet-service-scalarproduct_bob.c | |||
@@ -964,7 +964,7 @@ start_intersection (struct BobServiceSession *s) | |||
964 | &s->session_id, | 964 | &s->session_id, |
965 | NULL, | 965 | NULL, |
966 | GNUNET_SET_RESULT_REMOVED, | 966 | GNUNET_SET_RESULT_REMOVED, |
967 | (struct GNUNET_SET_Option[]) { 0 }, | 967 | (struct GNUNET_SET_Option[]) {{ 0 }}, |
968 | &cb_intersection_element_removed, | 968 | &cb_intersection_element_removed, |
969 | s); | 969 | s); |
970 | if (GNUNET_OK != | 970 | if (GNUNET_OK != |
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index ab39a2e8a..5c8a2eb0c 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c | |||
@@ -448,7 +448,7 @@ op_get_element (struct Operation *op, | |||
448 | { | 448 | { |
449 | int ret; | 449 | int ret; |
450 | struct IBF_Key ibf_key; | 450 | struct IBF_Key ibf_key; |
451 | struct GetElementContext ctx = { 0 }; | 451 | struct GetElementContext ctx = {{{ 0 }} , 0}; |
452 | 452 | ||
453 | ctx.hash = *element_hash; | 453 | ctx.hash = *element_hash; |
454 | 454 | ||
diff --git a/src/set/gnunet-set-profiler.c b/src/set/gnunet-set-profiler.c index 971d9746a..cfbb5602a 100644 --- a/src/set/gnunet-set-profiler.c +++ b/src/set/gnunet-set-profiler.c | |||
@@ -220,7 +220,7 @@ set_listen_cb (void *cls, | |||
220 | struct GNUNET_SET_Request *request) | 220 | struct GNUNET_SET_Request *request) |
221 | { | 221 | { |
222 | /* max. 2 options plus terminator */ | 222 | /* max. 2 options plus terminator */ |
223 | struct GNUNET_SET_Option opts[3] = {0}; | 223 | struct GNUNET_SET_Option opts[3] = {{0}}; |
224 | unsigned int n_opts = 0; | 224 | unsigned int n_opts = 0; |
225 | 225 | ||
226 | if (NULL == request) | 226 | if (NULL == request) |
@@ -316,7 +316,7 @@ run (void *cls, | |||
316 | unsigned int i; | 316 | unsigned int i; |
317 | struct GNUNET_HashCode hash; | 317 | struct GNUNET_HashCode hash; |
318 | /* max. 2 options plus terminator */ | 318 | /* max. 2 options plus terminator */ |
319 | struct GNUNET_SET_Option opts[3] = {0}; | 319 | struct GNUNET_SET_Option opts[3] = {{0}}; |
320 | unsigned int n_opts = 0; | 320 | unsigned int n_opts = 0; |
321 | 321 | ||
322 | config = cfg; | 322 | config = cfg; |