mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-26 04:09:30 +03:00
test_upgrade{,_large}: fixed use of uninitialized value
This commit is contained in:
@@ -526,7 +526,7 @@ notify_connection_cb (void *cls,
|
||||
void **socket_context,
|
||||
enum MHD_ConnectionNotificationCode toe)
|
||||
{
|
||||
static int started;
|
||||
static int started = MHD_NO;
|
||||
|
||||
(void) cls;
|
||||
(void) connection; /* Unused. Silent compiler warning. */
|
||||
|
||||
@@ -700,7 +700,7 @@ notify_connection_cb (void *cls,
|
||||
void **socket_context,
|
||||
enum MHD_ConnectionNotificationCode toe)
|
||||
{
|
||||
static int started;
|
||||
static int started = MHD_NO;
|
||||
|
||||
(void) cls;
|
||||
(void) connection; /* Unused. Silent compiler warning. */
|
||||
|
||||
Reference in New Issue
Block a user