txn/txn_ckpt.c:260:33: error: 'i' may be used uninitialized in this function