diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-05 20:44:47 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-05 20:44:47 +0000 |
commit | 04141a32529dd7c133d1f17478e6212ce8d4f542 (patch) | |
tree | 4ca8aa4cba2ec7a0ae137f349a5f8f1c7a83fb1c /src/scalarproduct | |
parent | 6604f77b5574ff5e3e7b2f57605d8d3a0cf941c8 (diff) | |
download | gnunet-04141a32529dd7c133d1f17478e6212ce8d4f542.tar.gz gnunet-04141a32529dd7c133d1f17478e6212ce8d4f542.zip |
-dead assignment (and leak), reported by clang
Diffstat (limited to 'src/scalarproduct')
-rw-r--r-- | src/scalarproduct/gnunet-service-scalarproduct.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct.c b/src/scalarproduct/gnunet-service-scalarproduct.c index 5a917b20c..fb1d418c3 100644 --- a/src/scalarproduct/gnunet-service-scalarproduct.c +++ b/src/scalarproduct/gnunet-service-scalarproduct.c | |||
@@ -1920,7 +1920,6 @@ compute_scalar_product (struct ServiceSession * session) | |||
1920 | unsigned int i; | 1920 | unsigned int i; |
1921 | 1921 | ||
1922 | count = session->used; | 1922 | count = session->used; |
1923 | tmp = gcry_mpi_new (KEYBITS); | ||
1924 | // due to the introduced static offset S, we now also have to remove this | 1923 | // due to the introduced static offset S, we now also have to remove this |
1925 | // from the E(a_pi)(+)E(-b_pi-r_pi) and E(a_qi)(+)E(-r_qi) twice each, | 1924 | // from the E(a_pi)(+)E(-b_pi-r_pi) and E(a_qi)(+)E(-r_qi) twice each, |
1926 | // the result is E((S + a_pi) + (S -b_pi-r_pi)) and E(S + a_qi + S - r_qi) | 1925 | // the result is E((S + a_pi) + (S -b_pi-r_pi)) and E(S + a_qi + S - r_qi) |