# HG changeset patch # User jbe # Date 1612535868 -3600 # Node ID e13a3fa97aad5e805dd583d48bf1fb9d2d87c822 # Parent 75204c64cc5f7cbc6313ac768a316f7080dab4de Removed unused pointer for database connection to avoid compiler warning diff -r 75204c64cc5f -r e13a3fa97aad libraries/mondelefant/mondelefant_native.c --- a/libraries/mondelefant/mondelefant_native.c Tue Jun 09 13:27:58 2020 +0200 +++ b/libraries/mondelefant/mondelefant_native.c Fri Feb 05 15:37:48 2021 +0100 @@ -694,13 +694,12 @@ // method "assemble_command" of database handles: static int mondelefant_conn_assemble_command(lua_State *L) { - mondelefant_conn_t *conn; int paramidx = 2; const char *template; size_t template_pos = 0; luaL_Buffer buf; // get database connection object: - conn = mondelefant_get_conn(L, 1); + mondelefant_get_conn(L, 1); // if second argument is a string, return this string: if (lua_type(L, 2) == LUA_TSTRING) { lua_settop(L, 2);