summaryrefslogtreecommitdiff
path: root/cpp/examples/pub-sub/topic_publisher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/examples/pub-sub/topic_publisher.cpp')
-rw-r--r--cpp/examples/pub-sub/topic_publisher.cpp1
1 files changed, 0 insertions, 1 deletions
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();