1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

ISO C90 forbids mixed declarations and code

This commit is contained in:
Sergei Golubchik
2021-07-05 12:43:06 +02:00
parent 9dd69b7c74
commit fffa8167d8

View File

@@ -1065,10 +1065,11 @@ void *remote_plugin;
static int test_remote1(MYSQL *mysql) static int test_remote1(MYSQL *mysql)
{ {
int rc; int rc;
SKIP_SKYSQL;
MYSQL_RES *res; MYSQL_RES *res;
MYSQL_ROW row; MYSQL_ROW row;
SKIP_SKYSQL;
remote_plugin= (void *)mysql_client_find_plugin(mysql, "remote_io", MARIADB_CLIENT_REMOTEIO_PLUGIN); remote_plugin= (void *)mysql_client_find_plugin(mysql, "remote_io", MARIADB_CLIENT_REMOTEIO_PLUGIN);
if (!remote_plugin) if (!remote_plugin)
{ {