Fix harmless compiler warnings in the cell-overwrite logic.