Add a forgotten return value check in the unit tests

Spotted by clang's static analyzer
This commit is contained in:
Sebastian Hahn 2011-04-11 17:23:08 +02:00
parent b0ff7eb5ce
commit 3819b62cea

View File

@ -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,