summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/console/SessionManager.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2011-06-07 21:33:46 +0000
committerAndrew Stitcher <astitcher@apache.org>2011-06-07 21:33:46 +0000
commita0f8e1c04d994522de6e59e092fc4c793b9fb913 (patch)
tree5e90f3011f801e6b80e4165bd08431ea88498c92 /cpp/src/qpid/console/SessionManager.cpp
parent9e3fb797e5c9e413ed1d9744af886cdcb5558bfb (diff)
downloadqpid-python-a0f8e1c04d994522de6e59e092fc4c793b9fb913.tar.gz
QPID-3284: Eliminated warnings from gcc 4.6 compiler
- Removed a bunch of variables set but not further used. - Rejigged some asserts which would now have unused vars if compiler -DNDEBUG git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1133166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/console/SessionManager.cpp')
-rw-r--r--cpp/src/qpid/console/SessionManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/console/SessionManager.cpp b/cpp/src/qpid/console/SessionManager.cpp
index 80c5959417..910ae22be8 100644
--- a/cpp/src/qpid/console/SessionManager.cpp
+++ b/cpp/src/qpid/console/SessionManager.cpp
@@ -362,12 +362,11 @@ void SessionManager::handleCommandComplete(Broker* broker, Buffer& inBuffer, uin
void SessionManager::handleClassInd(Broker* broker, Buffer& inBuffer, uint32_t)
{
- uint8_t kind;
string packageName;
string className;
uint8_t hash[16];
- kind = inBuffer.getOctet();
+ /*kind*/ (void) inBuffer.getOctet();
inBuffer.getShortString(packageName);
inBuffer.getShortString(className);
inBuffer.getBin128(hash);