Fix a c90 warning

This commit is contained in:
Nick Mathewson 2014-09-18 11:54:39 -04:00
parent c119f2416c
commit 76643dd0e7

View File

@ -287,8 +287,10 @@ test_bufferevent_watermarks_impl(int use_pair)
tt_int_op(low, ==, 100);
tt_int_op(high, ==, 2000);
{
int r = bufferevent_getwatermark(bev1, EV_WRITE | EV_READ, &low, &high);
tt_int_op(r, !=, 0);
}
bufferevent_write(bev1, buffer, sizeof(buffer));