diff options
author | Esption <esption@gmail.com> | 2015-05-08 12:31:56 -0500 |
---|---|---|
committer | Esption <esption@gmail.com> | 2015-05-08 12:31:56 -0500 |
commit | c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7 (patch) | |
tree | 64a7282c58e3ad6e7de4221b27840caeb857bd87 /src/api/caca | |
parent | 0d10dda72a3d56ec137da0359b2f46fc75b7aaa9 (diff) | |
download | glutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.tar.gz glutin-c973a1f83e2f9cea017e9dd48c4acaeb23fe5eb7.zip |
Fixed build warnings
Diffstat (limited to 'src/api/caca')
-rw-r--r-- | src/api/caca/ffi.rs | 4 | ||||
-rw-r--r-- | src/api/caca/mod.rs | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/api/caca/ffi.rs b/src/api/caca/ffi.rs index e0921ae..4a7b813 100644 --- a/src/api/caca/ffi.rs +++ b/src/api/caca/ffi.rs @@ -1,6 +1,6 @@ +#![allow(non_camel_case_types)] + use libc; -use std::ffi::CStr; -use std::mem; pub type caca_display_t = libc::c_void; pub type caca_canvas_t = libc::c_void; diff --git a/src/api/caca/mod.rs b/src/api/caca/mod.rs index 1e3840c..06a6931 100644 --- a/src/api/caca/mod.rs +++ b/src/api/caca/mod.rs @@ -1,4 +1,5 @@ #![cfg(any(target_os = "linux", target_os = "freebsd"))] +#![allow(unused_variables, dead_code)] use libc; use api::osmesa::{OsMesaContext, OsMesaCreationError}; |