Skip to content

Commit

Permalink
Fix clippy dead code warning
Browse files Browse the repository at this point in the history
  • Loading branch information
arctic-alpaca committed Jan 11, 2024
1 parent ff23a3d commit 992f216
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/linux_raw/reg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ pub(super) trait FromAsm: private::Sealed {
/// pointer types. They need a type to point to, so we define a custom private
/// type, to prevent it from being used for anything else.
#[repr(transparent)]
pub(super) struct Opaque(c::c_void);
pub(super) struct Opaque {
_unused: c::c_void,
}

// Argument numbers.
pub(super) struct A0(());
Expand Down

0 comments on commit 992f216

Please sign in to comment.