diff --git a/examples/libevent-client.c b/examples/libevent-client.c index 5194c4fe..fd4aad5b 100644 --- a/examples/libevent-client.c +++ b/examples/libevent-client.c @@ -352,7 +352,7 @@ static SSL* create_ssl(SSL_CTX *ssl_ctx) static void initialize_nghttp2_session(http2_session_data *session_data) { - nghttp2_session_callbacks callbacks = {0}; + nghttp2_session_callbacks callbacks; callbacks.send_callback = send_callback; callbacks.before_frame_send_callback = before_frame_send_callback;