diff options
Diffstat (limited to 'src/util/client.c')
-rw-r--r-- | src/util/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/client.c b/src/util/client.c index e5bf7e176..7a718fc8d 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -377,6 +377,7 @@ connection_client_destroy_impl (struct GNUNET_MQ_Handle *mq, | |||
377 | { | 377 | { |
378 | struct ClientState *cstate = impl_state; | 378 | struct ClientState *cstate = impl_state; |
379 | 379 | ||
380 | (void) mq; | ||
380 | if (GNUNET_SYSERR == cstate->in_destroy) | 381 | if (GNUNET_SYSERR == cstate->in_destroy) |
381 | { | 382 | { |
382 | /* defer destruction */ | 383 | /* defer destruction */ |
@@ -814,6 +815,7 @@ connection_client_send_impl (struct GNUNET_MQ_Handle *mq, | |||
814 | { | 815 | { |
815 | struct ClientState *cstate = impl_state; | 816 | struct ClientState *cstate = impl_state; |
816 | 817 | ||
818 | (void) mq; | ||
817 | /* only one message at a time allowed */ | 819 | /* only one message at a time allowed */ |
818 | GNUNET_assert (NULL == cstate->msg); | 820 | GNUNET_assert (NULL == cstate->msg); |
819 | GNUNET_assert (NULL == cstate->send_task); | 821 | GNUNET_assert (NULL == cstate->send_task); |
@@ -845,6 +847,7 @@ connection_client_cancel_impl (struct GNUNET_MQ_Handle *mq, | |||
845 | { | 847 | { |
846 | struct ClientState *cstate = impl_state; | 848 | struct ClientState *cstate = impl_state; |
847 | 849 | ||
850 | (void) mq; | ||
848 | GNUNET_assert (NULL != cstate->msg); | 851 | GNUNET_assert (NULL != cstate->msg); |
849 | GNUNET_assert (0 == cstate->msg_off); | 852 | GNUNET_assert (0 == cstate->msg_off); |
850 | cstate->msg = NULL; | 853 | cstate->msg = NULL; |