summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRALOVICH, Kristof <tade60@freemail.hu>2015-05-31 17:36:10 +0200
committerRALOVICH, Kristof <tade60@freemail.hu>2015-05-31 17:36:10 +0200
commit5517fc0e554c77aeab28deb5f24ebf88a86a44d4 (patch)
treeb3fad254e7b7681e25f3efc98dc0a8deb6f9035d
parent38cdf809390e74c52edaeba096fcdd09deb891f4 (diff)
tests: satisfy coverity
CID 44330 (#1 of 1): Structurally dead code (UNREACHABLE)
-rw-r--r--src/tests/sm1.cpp4
1 files 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();