From db959d5c6fe381bbddb14afba17b36b6dc5ffd87 Mon Sep 17 00:00:00 2001 From: Vlad Gluhovsky Date: Tue, 23 Jun 2015 15:00:34 +0200 Subject: [PATCH] deleted unused variable --- test/libwhisper/whisperTopic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/libwhisper/whisperTopic.cpp b/test/libwhisper/whisperTopic.cpp index 043e445ce..6fe132efc 100644 --- a/test/libwhisper/whisperTopic.cpp +++ b/test/libwhisper/whisperTopic.cpp @@ -320,7 +320,7 @@ BOOST_AUTO_TEST_CASE(topicAdvertising) Host host2("second", NetworkPreferences("127.0.0.1", 30305, false)); host2.setIdealPeerCount(1); auto whost2 = host2.registerCapability(new WhisperHost()); - auto watch2 = whost2->installWatch(BuildTopicMask("test2")); + whost2->installWatch(BuildTopicMask("test2")); host2.start(); while (!host2.haveNetwork()) @@ -354,7 +354,7 @@ BOOST_AUTO_TEST_CASE(topicAdvertising) BOOST_REQUIRE(bf1); BOOST_REQUIRE(!whost1->bloom()); - auto watch1 = whost1->installWatch(BuildTopicMask("test1")); + whost1->installWatch(BuildTopicMask("test1")); for (int i = 0; i < 300; ++i) {