Commit bc251297 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2861] Don't warn on unused result

parent d2cf6a85
......@@ -263,7 +263,7 @@ TEST(DataSrcClientsMgrTest, wakeup) {
// Push a callback in and wake the manager
FakeDataSrcClientsBuilder::callback_queue->
push_back(boost::bind(callback, &called, &tag, 1));
write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1);
EXPECT_EQ(1, write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1));
mgr.run_one();
EXPECT_TRUE(called);
EXPECT_EQ(1, tag);
......@@ -271,7 +271,7 @@ TEST(DataSrcClientsMgrTest, wakeup) {
called = false;
// If we wake up and don't push anything, it doesn't break.
write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1);
EXPECT_EQ(1, write(FakeDataSrcClientsBuilder::wakeup_fd, "w", 1));
mgr.run_one();
EXPECT_FALSE(called);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment