From 594287a7369087e74feed88163e1803e77e6e78a Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Wed, 15 Apr 2020 02:20:13 +0200 Subject: [PATCH] Fix [-Wjump-misses-init] warning in MySQL new driver extension --- ext/mysqlnd/mysqlnd_protocol_frame_codec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/mysqlnd/mysqlnd_protocol_frame_codec.c b/ext/mysqlnd/mysqlnd_protocol_frame_codec.c index cdea2a007f..6997ed9b26 100644 --- a/ext/mysqlnd/mysqlnd_protocol_frame_codec.c +++ b/ext/mysqlnd/mysqlnd_protocol_frame_codec.c @@ -368,7 +368,8 @@ MYSQLND_METHOD(mysqlnd_pfc, set_client_option)(MYSQLND_PFC * const pfc, enum_mys } pfc->data->sha256_server_public_key = value? mnd_pestrdup(value, pers) : NULL; break; - case MYSQLND_OPT_NET_CMD_BUFFER_SIZE: + } + case MYSQLND_OPT_NET_CMD_BUFFER_SIZE: { DBG_INF("MYSQLND_OPT_NET_CMD_BUFFER_SIZE"); if (*(unsigned int*) value < MYSQLND_NET_CMD_BUFFER_MIN_SIZE) { DBG_RETURN(FAIL); -- 2.40.0