From 76d9351dc2358f687ff16bf39999d4e208d298c7 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Tue, 2 Aug 2016 18:20:19 +0200 Subject: [PATCH] Fixed warning --- src/os/unix/mod.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/unix/mod.rs b/src/os/unix/mod.rs index 5e3c573..2e51e8f 100644 --- a/src/os/unix/mod.rs +++ b/src/os/unix/mod.rs @@ -282,7 +282,6 @@ impl Window { } pub fn get_unscaled_mouse_pos(&self, mode: MouseMode) -> Option<(f32, f32)> { - let s = self.shared_data.scale as f32; let w = self.shared_data.width as f32; let h = self.shared_data.height as f32;