remove unneeded allow(dead_code)s
This commit is contained in:
parent
f073cd5722
commit
8413dedb89
2 changed files with 1 additions and 5 deletions
|
@ -300,7 +300,6 @@ fn main() {
|
|||
last_instruction_addr: 0x0,
|
||||
};
|
||||
cpu_ram_init(&mut cpu);
|
||||
#[allow(unused_variables)]
|
||||
let mut cycle_num = 0;
|
||||
let mut instructions_seen = vec![];
|
||||
let mut last_state = cpu.state.clone();
|
||||
|
@ -375,7 +374,6 @@ fn run_cycle(
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn pause() {
|
||||
unsafe {
|
||||
if PAUSE_ENABLED {
|
||||
|
@ -385,12 +383,11 @@ fn pause() {
|
|||
}
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
|
||||
fn pause_once() {
|
||||
io::stdin().read_line(&mut String::new()).unwrap();
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn print_cycles(cycles: &i32) {
|
||||
if *cycles % 456789 != 0 {
|
||||
return;
|
||||
|
|
|
@ -7,7 +7,6 @@ use crate::{verbose_println, Inner, Memory, Register, State};
|
|||
|
||||
mod opcodes;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(PartialEq)]
|
||||
enum FLAGS {
|
||||
Zero = 7,
|
||||
|
|
Loading…
Add table
Reference in a new issue