Skip to content

Commit a7ac6c1

Browse files
JohnSullyJohn Sully
authored andcommitted
Remove unused variable
1 parent d7977c4 commit a7ac6c1

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

src/networking.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ client *createClient(connection *conn, int iel) {
163163
c->multibulklen = 0;
164164
c->bulklen = -1;
165165
c->sentlen = 0;
166-
c->sentlenAsync = 0;
167166
c->flags = 0;
168167
c->fPendingAsyncWrite = FALSE;
169168
c->fPendingAsyncWriteHandler = FALSE;

src/replication.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4343,7 +4343,6 @@ void replicationCacheMaster(redisMaster *mi, client *c) {
43434343
if (c->flags & CLIENT_MULTI) discardTransaction(c);
43444344
listEmpty(c->reply);
43454345
c->sentlen = 0;
4346-
c->sentlenAsync = 0;
43474346
c->reply_bytes = 0;
43484347
c->bufpos = 0;
43494348
resetClient(c);

src/server.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,6 @@ struct client {
16101610
unsigned long long reply_bytes; /* Tot bytes of objects in reply list. */
16111611
size_t sentlen; /* Amount of bytes already sent in the current
16121612
buffer or object being sent. */
1613-
size_t sentlenAsync; /* same as sentlen buf for async buffers (which are a different stream) */
16141613
time_t ctime; /* Client creation time. */
16151614
long duration; /* Current command duration. Used for measuring latency of blocking/non-blocking cmds */
16161615
time_t lastinteraction; /* Time of the last interaction, used for timeout */

0 commit comments

Comments
 (0)