mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-18 08:49:57 -04:00
Fix a c90 warning
This commit is contained in:
parent
c119f2416c
commit
76643dd0e7
@ -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));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user