From 7fbb0e83cc1a44b14211dcd4e42d3ebdeba2f64e Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 13 Nov 2008 18:48:43 +0000 Subject: 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 --- cpp/examples/pub-sub/topic_listener.cpp | 1 - cpp/examples/pub-sub/topic_publisher.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'cpp/examples/pub-sub') 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 #include #include -#include 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(); -- cgit v1.2.1