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, }