diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-25 12:54:36 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2017-02-25 21:03:41 +0000 |
commit | fa08d5e7122936f2adc73babf3ff83608d07620c (patch) | |
tree | 6594263c9420b16f8762fdd3af94a2558d894650 /src/scalarproduct | |
parent | 31f699c7eeacc991abad778f881f51b0dbdcbc6d (diff) | |
download | gnunet-fa08d5e7122936f2adc73babf3ff83608d07620c.tar.gz gnunet-fa08d5e7122936f2adc73babf3ff83608d07620c.zip |
Fix an initialization warning (GCC bug 53119)
Diffstat (limited to 'src/scalarproduct')
4 files changed, 4 insertions, 4 deletions
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 != |