diff options
| author | Nathan Straz <nstraz@redhat.com> | 2013-09-27 11:48:23 -0400 |
|---|---|---|
| committer | Nathan Straz <nstraz@redhat.com> | 2013-10-02 14:11:33 -0400 |
| commit | 044bfc699f1ced1ed03bcee6855a4752ab76ef01 (patch) | |
| tree | 52bbb1dd69c348e0d6037cc8725fc4a93cf79985 | |
| parent | 3a99470c355c1d2d479c4a58ac83cd31f2d59c5f (diff) | |
| download | qarsh-044bfc699f1ced1ed03bcee6855a4752ab76ef01.tar.gz qarsh-044bfc699f1ced1ed03bcee6855a4752ab76ef01.tar.xz qarsh-044bfc699f1ced1ed03bcee6855a4752ab76ef01.zip | |
Remove unused variables
| -rw-r--r-- | qarshd.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); } |
