Merge pull request #59 from kcousins/master
silence a compiler warning in src/ls_mysql.c
This commit is contained in:
commit
9bab7e24c1
@ -183,7 +183,7 @@ static void create_colinfo (lua_State *L, cur_data *cur) {
|
||||
/*
|
||||
** Closes the cursos and nullify all structure fields.
|
||||
*/
|
||||
static int cur_nullify (lua_State *L, cur_data *cur) {
|
||||
static void cur_nullify (lua_State *L, cur_data *cur) {
|
||||
/* Nullify structure fields. */
|
||||
cur->closed = 1;
|
||||
mysql_free_result(cur->my_res);
|
||||
|
Loading…
x
Reference in New Issue
Block a user