ci: Fix dead code error on nightly
See https://github.com/rust-lang/rust/pull/118297
This commit is contained in:
parent
d39528aa69
commit
f99c810bec
5 changed files with 9 additions and 9 deletions
|
|
@ -1398,7 +1398,7 @@ unsafe fn register_window_class<T: 'static>(class_name: &[u16]) {
|
|||
unsafe { RegisterClassExW(&class) };
|
||||
}
|
||||
|
||||
struct ComInitialized(*mut ());
|
||||
struct ComInitialized(#[allow(dead_code)] *mut ());
|
||||
impl Drop for ComInitialized {
|
||||
fn drop(&mut self) {
|
||||
unsafe { CoUninitialize() };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue