mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Don't use variable length arrays
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user