Skip to content

Commit ff25218

Browse files
committedNov 28, 2013
Don't use variable length arrays
1 parent 7433d65 commit ff25218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/rollback.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ bool SQL_registerRow(ActionRow row)
429429
*/
430430
sqlite3_reset(dbs_do);
431431

432-
int bind [20 + (((bool) row.id) ? 1 : 0)], ii = 0;
432+
int bind [22], ii = 0;
433433
bool nodeMeta = false;
434434

435435
bind[ii++] = sqlite3_bind_int(dbs_do, 1, row.actor);

0 commit comments

Comments
 (0)
Please sign in to comment.