diff options
Diffstat (limited to 'cpp/demo/IceStorm/counter/Server.cpp')
-rw-r--r-- | cpp/demo/IceStorm/counter/Server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/demo/IceStorm/counter/Server.cpp b/cpp/demo/IceStorm/counter/Server.cpp index 687e826bbf1..bd48f0f7a54 100644 --- a/cpp/demo/IceStorm/counter/Server.cpp +++ b/cpp/demo/IceStorm/counter/Server.cpp @@ -56,13 +56,13 @@ Server::run(int argc, char* argv[]) { topic = manager->retrieve("counter"); } - catch(const IceStorm::NoSuchTopic& ex) + catch(const IceStorm::NoSuchTopic&) { try { topic = manager->create("counter"); } - catch(const IceStorm::TopicExists& ex) + catch(const IceStorm::TopicExists&) { cerr << appName() << ": topic exists, please try again." << endl; return EXIT_FAILURE; |