From fbd272859a59f46c4338b5ec81ecd0b15ce1118e Mon Sep 17 00:00:00 2001 From: Cherry <13651622+MolotovCherry@users.noreply.github.com> Date: Sat, 21 Oct 2023 16:53:15 -0700 Subject: [PATCH] fix clippy warning --- virtual-display-driver/src/context.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/virtual-display-driver/src/context.rs b/virtual-display-driver/src/context.rs index 8110f208..622c5026 100644 --- a/virtual-display-driver/src/context.rs +++ b/virtual-display-driver/src/context.rs @@ -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,