From 2a7164148cf4a6f14c99ee8cd9309ffea36e16da Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 7 Feb 2022 00:30:41 +0200 Subject: [PATCH 40/40] ls_odbc.c: Fix "unused variable" -compiler warnings See osdn #43797 Signed-off-by: Marko Lindqvist --- dependencies/luasql/src/ls_odbc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dependencies/luasql/src/ls_odbc.c b/dependencies/luasql/src/ls_odbc.c index 325ba0c490..222370e262 100644 --- a/dependencies/luasql/src/ls_odbc.c +++ b/dependencies/luasql/src/ls_odbc.c @@ -774,7 +774,6 @@ static int set_param(lua_State *L, stmt_data *stmt, int i, param_data *data) */ static int raw_readparams_table(lua_State *L, stmt_data *stmt, int iparams) { - static SQLINTEGER cbNull = SQL_NULL_DATA; SQLSMALLINT i; param_data *data; int res = 0; @@ -802,7 +801,6 @@ static int raw_readparams_table(lua_State *L, stmt_data *stmt, int iparams) */ static int raw_readparams_args(lua_State *L, stmt_data *stmt, int arg, int ltop) { - static SQLINTEGER cbNull = SQL_NULL_DATA; SQLSMALLINT i; param_data *data; int res = 0; -- 2.34.1