mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
test-closed: fix -Werror=maybe-uninitialized
Follow-up for: https://github.com/libevent/libevent/pull/1680
This commit is contained in:
parent
272bd7ddf0
commit
66428fb969
@ -72,9 +72,9 @@ closed_cb(evutil_socket_t fd, short event, void *arg)
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
struct event_base *base;
|
||||
struct event_base *base = NULL;
|
||||
struct event *ev = NULL;
|
||||
struct event_config *cfg;
|
||||
struct event *ev;
|
||||
const char *test = "test string";
|
||||
evutil_socket_t pair[2];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user