From 26b1532c6b9f3e95cdf9b6c526a13cce56144262 Mon Sep 17 00:00:00 2001 From: Sir Poggles Date: Tue, 12 Jun 2012 21:59:57 -0700 Subject: Fix set-but-not-used and var shadowing warnings --- src/userprocess.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 12edb6ae6..5d40d0b01 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -85,7 +85,6 @@ void ProcessUserHandler::Call(User* cu) if ((result) && (result != -EAGAIN)) { User *current; - int currfd; Server->stats->statsRecv += result; /* @@ -103,7 +102,6 @@ void ProcessUserHandler::Call(User* cu) ReadBuffer[result] = '\0'; current = cu; - currfd = current->GetFd(); // add the data to the users buffer if (result > 0) -- cgit v1.3.1-10-gc9f91