Skip to content

Commit

Permalink
Fix a build warning on MacOS (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrobinson committed Mar 20, 2024
1 parent 49d07d6 commit b683ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion surfman/src/platform/macos/system/surface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<VblankCond>, Arc<VblankCond>>(&self.next_vblank);
let _ = mem::transmute_copy::<Arc<VblankCond>, Arc<VblankCond>>(&self.next_vblank);
}
}
}
Expand Down

0 comments on commit b683ecc

Please sign in to comment.