From fffa8167d883bbf841ecb04a77abe2fbf1d1dfc9 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Mon, 5 Jul 2021 12:43:06 +0200 Subject: [PATCH] ISO C90 forbids mixed declarations and code --- unittest/libmariadb/misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unittest/libmariadb/misc.c b/unittest/libmariadb/misc.c index 976f62ec..ea7dd62a 100644 --- a/unittest/libmariadb/misc.c +++ b/unittest/libmariadb/misc.c @@ -1065,10 +1065,11 @@ void *remote_plugin; static int test_remote1(MYSQL *mysql) { int rc; - SKIP_SKYSQL; MYSQL_RES *res; MYSQL_ROW row; + SKIP_SKYSQL; + remote_plugin= (void *)mysql_client_find_plugin(mysql, "remote_io", MARIADB_CLIENT_REMOTEIO_PLUGIN); if (!remote_plugin) {