commit | 3b771a10f1b815d5168d244374cddd1014ba3c02 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Wed Nov 17 22:11:26 2010 +0000 |
committer | Roger Meier <roger@apache.org> | Wed Nov 17 22:11:26 2010 +0000 |
tree | b317075bdba17f1291f5dfda00d02cb6fe410857 | |
parent | be87ab28b06323f46835983ce2501b952978bda2 [diff] |
THRIFT-916 compile with -Wall -Wextra without warning on Debian Lenny git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1036250 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/src/server/TNonblockingServer.cpp b/lib/cpp/src/server/TNonblockingServer.cpp index 8f5a9f3..69ae235 100644 --- a/lib/cpp/src/server/TNonblockingServer.cpp +++ b/lib/cpp/src/server/TNonblockingServer.cpp
@@ -602,6 +602,7 @@ * connections on fd and assign TConnection objects to handle those requests. */ void TNonblockingServer::handleEvent(int fd, short which) { + (void) which; // Make sure that libevent didn't mess up the socket handles assert(fd == serverSocket_);