diff options
author | Alan Conway <aconway@apache.org> | 2006-10-11 15:50:15 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2006-10-11 15:50:15 +0000 |
commit | 2bcadbb42a6fb2f096c1fc0a4b957d64a5024ef6 (patch) | |
tree | 886eb0659c6f28c2f1d26de7d5fd29fff0072dc5 /cpp/client/test/client_test.cpp | |
parent | 9fc2b6c5f0848d65f1bf20e62279c055d12a1d40 (diff) | |
download | qpid-python-2bcadbb42a6fb2f096c1fc0a4b957d64a5024ef6.tar.gz |
Turned up gcc warnings, fixed warnings in code, enabled -Werror.
Note: #include "qpid_test_plugin.h" instead of <cppunit/TestPlugin.h>
Works around warning from a cppunit macro.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@462834 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/client/test/client_test.cpp')
-rw-r--r-- | cpp/client/test/client_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/client/test/client_test.cpp b/cpp/client/test/client_test.cpp index e33beb3b67..b899d494d7 100644 --- a/cpp/client/test/client_test.cpp +++ b/cpp/client/test/client_test.cpp @@ -36,7 +36,7 @@ class SimpleListener : public virtual MessageListener{ public: inline SimpleListener(Monitor* _monitor) : monitor(_monitor){} - inline virtual void received(Message& msg){ + inline virtual void received(Message& /*msg*/){ std::cout << "Received message " /**<< msg **/<< std::endl; monitor->acquire(); monitor->notify(); @@ -44,7 +44,7 @@ public: } }; -int main(int argc, char** argv) +int main(int argc, char**) { try{ Connection con(argc > 1); |