summaryrefslogtreecommitdiff
path: root/cpp/examples/pub-sub
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-11-13 18:48:43 +0000
committerGordon Sim <gsim@apache.org>2008-11-13 18:48:43 +0000
commit7fbb0e83cc1a44b14211dcd4e42d3ebdeba2f64e (patch)
treef093090ab9827b853e323ef441135370d145ee0a /cpp/examples/pub-sub
parenta9a2e91cdba870df5ae91e8f9c6734a947a97841 (diff)
downloadqpid-python-7fbb0e83cc1a44b14211dcd4e42d3ebdeba2f64e.tar.gz
Minor cleanup edits to examples (from jrobie@redhat.com)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@713785 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/pub-sub')
-rw-r--r--cpp/examples/pub-sub/topic_listener.cpp1
-rw-r--r--cpp/examples/pub-sub/topic_publisher.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/cpp/examples/pub-sub/topic_listener.cpp b/cpp/examples/pub-sub/topic_listener.cpp
index 14c5777bfc..fe0280cb7e 100644
--- a/cpp/examples/pub-sub/topic_listener.cpp
+++ b/cpp/examples/pub-sub/topic_listener.cpp
@@ -52,7 +52,6 @@
#include <unistd.h>
#include <cstdlib>
#include <iostream>
-#include <set>
using namespace qpid::client;
using namespace qpid::framing;
diff --git a/cpp/examples/pub-sub/topic_publisher.cpp b/cpp/examples/pub-sub/topic_publisher.cpp
index 8186c5d5bb..72ba572f75 100644
--- a/cpp/examples/pub-sub/topic_publisher.cpp
+++ b/cpp/examples/pub-sub/topic_publisher.cpp
@@ -104,7 +104,6 @@ int main(int argc, char** argv) {
int port = argc>2 ? atoi(argv[2]) : 5672;
Connection connection;
- Message message;
try {
connection.open(host, port);
Session session = connection.newSession();