Don't use variable length arrays

This commit is contained in:
ShadowNinja 2013-11-28 11:09:51 -05:00
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);