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/fanout/fanout_producer.cpp | 1 - cpp/examples/fanout/listener.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'cpp/examples/fanout') diff --git a/cpp/examples/fanout/fanout_producer.cpp b/cpp/examples/fanout/fanout_producer.cpp index 18338717b9..fb16f7e8b1 100644 --- a/cpp/examples/fanout/fanout_producer.cpp +++ b/cpp/examples/fanout/fanout_producer.cpp @@ -65,7 +65,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(); diff --git a/cpp/examples/fanout/listener.cpp b/cpp/examples/fanout/listener.cpp index dd9bf3c7ba..b6050ef728 100644 --- a/cpp/examples/fanout/listener.cpp +++ b/cpp/examples/fanout/listener.cpp @@ -45,6 +45,7 @@ #include #include #include +#include #include #include @@ -80,7 +81,6 @@ int main(int argc, char** argv) { int port = argc>2 ? atoi(argv[2]) : 5672; Connection connection; - Message msg; try { connection.open(host, port); Session session = connection.newSession(); -- cgit v1.2.1