aboutsummaryrefslogtreecommitdiff
path: root/src/scalarproduct
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2013-10-08 13:02:46 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2013-10-08 13:02:46 +0000
commita006309dd6b276303a29e78de12f2a1bfe5617bf (patch)
tree6918e25799a67dd2fd3b0da25e4717ad59d7885d /src/scalarproduct
parentda4d43c8e4fec1bc2f92e7387a28d074bba375dc (diff)
downloadgnunet-a006309dd6b276303a29e78de12f2a1bfe5617bf.tar.gz
gnunet-a006309dd6b276303a29e78de12f2a1bfe5617bf.zip
removed a couple of excess variable declarations
Diffstat (limited to 'src/scalarproduct')
-rw-r--r--src/scalarproduct/gnunet-service-scalarproduct.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/scalarproduct/gnunet-service-scalarproduct.c b/src/scalarproduct/gnunet-service-scalarproduct.c
index 6067833c3..6f6ace6d5 100644
--- a/src/scalarproduct/gnunet-service-scalarproduct.c
+++ b/src/scalarproduct/gnunet-service-scalarproduct.c
@@ -1894,17 +1894,13 @@ handle_service_request_multipart (void *cls,
1894{ 1894{
1895 struct ServiceSession * session; 1895 struct ServiceSession * session;
1896 const struct GNUNET_SCALARPRODUCT_multipart_message * msg = (const struct GNUNET_SCALARPRODUCT_multipart_message *) message; 1896 const struct GNUNET_SCALARPRODUCT_multipart_message * msg = (const struct GNUNET_SCALARPRODUCT_multipart_message *) message;
1897 uint32_t mask_length;
1898 uint32_t pk_length;
1899 uint32_t used_elements; 1897 uint32_t used_elements;
1900 uint32_t contained_elements; 1898 uint32_t contained_elements;
1901 uint32_t element_count;
1902 uint32_t msg_length; 1899 uint32_t msg_length;
1903 unsigned char * current; 1900 unsigned char * current;
1904 struct ServiceSession * responder_session; 1901 struct ServiceSession * responder_session;
1905 int32_t i = -1; 1902 int32_t i = -1;
1906 enum SessionState needed_state; 1903
1907
1908 // are we in the correct state? 1904 // are we in the correct state?
1909 session = (struct ServiceSession *) * tunnel_ctx; 1905 session = (struct ServiceSession *) * tunnel_ctx;
1910 if (BOB != session->role) { 1906 if (BOB != session->role) {