test_upgrade{,_large}: fixed use of uninitialized value

This commit is contained in:
Evgeny Grin (Karlson2k)
2023-03-01 17:27:37 +03:00
parent 0da40e2a2c
commit 4bb2eac006
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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. */
+1 -1
View File
@@ -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. */