diff options
| author | 2012-06-12 21:59:57 -0700 | |
|---|---|---|
| committer | 2012-06-12 21:59:57 -0700 | |
| commit | 26b1532c6b9f3e95cdf9b6c526a13cce56144262 (patch) | |
| tree | 7ded9ae68a8aae7a5cdca8e4f0fcff27ea9b4c16 /src/userprocess.cpp | |
| parent | Make sure LDLIBS appears after the other objects (diff) | |
Fix set-but-not-used and var shadowing warnings
Diffstat (limited to 'src/userprocess.cpp')
| -rw-r--r-- | src/userprocess.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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) |
