Skip to content

Commit

Permalink
Fix new warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfsck committed Sep 3, 2024
1 parent 24edb93 commit ef5fda6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rust/iced-x86/src/encoder/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ impl Op for OpIq {
}

#[allow(non_camel_case_types)]
#[allow(dead_code)]
pub(super) struct OpI4;
impl Op for OpI4 {
fn encode(&self, encoder: &mut Encoder, instruction: &Instruction, operand: u32) {
Expand Down Expand Up @@ -484,6 +485,7 @@ impl Op for OpImm {
}

#[allow(non_camel_case_types)]
#[allow(dead_code)]
pub(super) struct OpHx {
pub(super) reg_lo: Register,
pub(super) reg_hi: Register,
Expand Down

0 comments on commit ef5fda6

Please sign in to comment.