Skip to content
Snippets Groups Projects
Commit ff252183 authored by ShadowNinja's avatar ShadowNinja
Browse files

Don't use variable length arrays

parent 7433d65d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment