From 77b37431173a7267835f01915f7bc604d9f5a6ff Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 28 Sep 2015 12:19:36 -0400 Subject: Warning fixes for OS X. --- examples/multiwindow.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/multiwindow.rs') diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs index 18299f8..acb2e99 100644 --- a/examples/multiwindow.rs +++ b/examples/multiwindow.rs @@ -39,13 +39,13 @@ fn main() { #[cfg(feature = "window")] fn run(window: glutin::Window, color: (f32, f32, f32, f32)) { - unsafe { window.make_current() }; + let _ = unsafe { window.make_current() }; let context = support::load(&window); for event in window.wait_events() { context.draw_frame(color); - window.swap_buffers(); + let _ = window.swap_buffers(); match event { glutin::Event::Closed => break, -- cgit v1.2.3