Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Mar 20, 2024
1 parent 38881e5 commit 0f65692
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/format-test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1772,8 +1772,7 @@ TEST(format_test, line_buffering) {
auto read_end = pipe.read_end.fdopen("r");
std::thread reader([&]() {
int n = 0;
int result = fscanf(read_end.get(), "%d", &n);
(void)result;
(void)fscanf(read_end.get(), "%d", &n);
EXPECT_EQ(n, 42);
cv.notify_one();
});
Expand Down

0 comments on commit 0f65692

Please sign in to comment.