forked from Mirrorlandia_minetest/minetest
Don't use variable length arrays
This commit is contained in:
parent
7433d65d3e
commit
ff25218374
@ -429,7 +429,7 @@ bool SQL_registerRow(ActionRow row)
|
||||
*/
|
||||
sqlite3_reset(dbs_do);
|
||||
|
||||
int bind [20 + (((bool) row.id) ? 1 : 0)], ii = 0;
|
||||
int bind [22], ii = 0;
|
||||
bool nodeMeta = false;
|
||||
|
||||
bind[ii++] = sqlite3_bind_int(dbs_do, 1, row.actor);
|
||||
|
Loading…
Reference in New Issue
Block a user