From a8326a9138e25e4aa38645a2b83d824443903a18 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 8 Jan 2015 13:28:35 +0530 Subject: [PATCH] Fix dead code warning for Android --- ports/glutin/window.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/glutin/window.rs b/ports/glutin/window.rs index a5156f6d714..80a619e360f 100644 --- a/ports/glutin/window.rs +++ b/ports/glutin/window.rs @@ -38,6 +38,7 @@ use util::cursor::Cursor; use std::ptr; struct HeadlessContext { + #[allow(dead_code)] context: glutin::HeadlessContext, size: TypedSize2D, }