From 044bfc699f1ced1ed03bcee6855a4752ab76ef01 Mon Sep 17 00:00:00 2001 From: Nathan Straz Date: Fri, 27 Sep 2013 11:48:23 -0400 Subject: Remove unused variables --- qarshd.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qarshd.c b/qarshd.c index 3db4e96..dc53d21 100644 --- a/qarshd.c +++ b/qarshd.c @@ -59,8 +59,6 @@ sigset_t orig_sigmask; int childfds[3] = { -1, -1, -1 }; /* pipes to child for stdin/stdout/stderr */ int receivefd = -1; int sendfd = -1; -off_t recvsize = 0; -off_t received = 0; void lprintf(int priority, const char *format, ...) @@ -177,8 +175,6 @@ prepare_recvfile(struct qa_packet *qp) /* Store fd to check data packets against */ receivefd = fd; - recvsize = qp->qp_recvfile.qp_count; - received = 0; return make_qp_data_allow(0, QARSHD_BUFSIZE); } @@ -203,7 +199,6 @@ receive_data(struct qa_packet *qp) } nwrote += ret; } while (nwrote < qp->qp_data.qp_count); - received += nwrote; return make_qp_data_allow(0, nwrote); } -- cgit