mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-09 12:28:19 -04:00
Add a forgotten return value check in the unit tests
Spotted by clang's static analyzer
This commit is contained in:
parent
b0ff7eb5ce
commit
3819b62cea
@ -276,6 +276,7 @@ test_bufferevent_zlib(void *arg)
|
||||
tt_int_op(r, ==, Z_OK);
|
||||
memset(&z_input, 0, sizeof(z_input));
|
||||
r = inflateInit(&z_input);
|
||||
tt_int_op(r, ==, Z_OK);
|
||||
|
||||
/* initialize filters */
|
||||
bev1 = bufferevent_filter_new(bev1, NULL, zlib_output_filter,
|
||||
|
Loading…
x
Reference in New Issue
Block a user