From b683ecce4fd1bc01f6d5abc2709129f4a0dddf31 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Wed, 20 Mar 2024 14:54:28 +0100 Subject: [PATCH] Fix a build warning on MacOS (#282) --- surfman/src/platform/macos/system/surface.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surfman/src/platform/macos/system/surface.rs b/surfman/src/platform/macos/system/surface.rs index d961fee8..eee4f7f3 100644 --- a/surfman/src/platform/macos/system/surface.rs +++ b/surfman/src/platform/macos/system/surface.rs @@ -477,7 +477,7 @@ impl Drop for ViewInfo { self.display_link.stop(); // Drop the reference that the callback was holding onto. - mem::transmute_copy::, Arc>(&self.next_vblank); + let _ = mem::transmute_copy::, Arc>(&self.next_vblank); } } }