From 5517fc0e554c77aeab28deb5f24ebf88a86a44d4 Mon Sep 17 00:00:00 2001 From: "RALOVICH, Kristof" Date: Sun, 31 May 2015 17:36:10 +0200 Subject: tests: satisfy coverity CID 44330 (#1 of 1): Structurally dead code (UNREACHABLE) --- src/tests/sm1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/sm1.cpp b/src/tests/sm1.cpp index 96d5c8c..b49dc85 100644 --- a/src/tests/sm1.cpp +++ b/src/tests/sm1.cpp @@ -146,7 +146,7 @@ BOOST_AUTO_TEST_CASE(test_asio) // The io_service runs in a background thread to perform filtering. boost::thread bgthread(boost::bind(run, &io_service)); - for (;;) + //for (;;) { // Collect request from user. //std::cout << "Enter a string: "; @@ -169,7 +169,7 @@ BOOST_AUTO_TEST_CASE(test_asio) BOOST_CHECK(reply.size()==6); BOOST_CHECK(reply[0]=='A'); - break; + //break; } io_service.stop(); -- cgit v1.2.3