summaryrefslogtreecommitdiff
path: root/src/protocol/reqrep
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol/reqrep')
-rw-r--r--src/protocol/reqrep/rep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/protocol/reqrep/rep.c b/src/protocol/reqrep/rep.c
index 8de196c4..3cf215b5 100644
--- a/src/protocol/reqrep/rep.c
+++ b/src/protocol/reqrep/rep.c
@@ -13,7 +13,7 @@
#include "core/nng_impl.h"
// Response protocol. The REP protocol is the "reply" side of a
-// request-reply pair. This is useful for bulding RPC servers, for
+// request-reply pair. This is useful for building RPC servers, for
// example.
typedef struct nni_rep_pipe nni_rep_pipe;
@@ -40,8 +40,6 @@ struct nni_rep_pipe {
int sigclose;
};
-static void nni_rep_topsender(void *);
-
static int
nni_rep_sock_init(void **repp, nni_sock *sock)
{
@@ -143,7 +141,6 @@ nni_rep_sock_send(void *arg)
{
nni_rep_sock *rep = arg;
nni_msgq *uwq = rep->uwq;
- nni_msgq *urq = rep->urq;
nni_mtx *mx = nni_sock_mtx(rep->sock);
nni_msg *msg;