Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Oct 21, 2023
1 parent fa7429b commit fbd2728
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions virtual-display-driver/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ pub struct DeviceContext {
unsafe impl Send for DeviceContext {}
unsafe impl Sync for DeviceContext {}

// for now, `device` is hardcoded into the macro, so it needs to be there even if unused
#[allow(unused)]
pub struct MonitorContext {
device: IDDCX_MONITOR,
swap_chain_processor: Option<SwapChainProcessor>,
Expand Down

0 comments on commit fbd2728

Please sign in to comment.