From 0b69d8465bec37e7a2ace329729a48bf1c7cb878 Mon Sep 17 00:00:00 2001 From: Brandon Fish Date: Thu, 13 Dec 2018 19:58:31 -0600 Subject: [PATCH] Fix build warnings unused imports --- src/apis/emscripten/storage.rs | 2 +- src/apis/emscripten/time.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apis/emscripten/storage.rs b/src/apis/emscripten/storage.rs index 16d4d6d0e..08099321b 100644 --- a/src/apis/emscripten/storage.rs +++ b/src/apis/emscripten/storage.rs @@ -1,4 +1,4 @@ -use crate::webassembly::LinearMemory; +// use crate::webassembly::LinearMemory; pub fn align_memory(ptr: u32) -> u32 { (ptr + 15) & !15 diff --git a/src/apis/emscripten/time.rs b/src/apis/emscripten/time.rs index 0395646a5..536b71ac3 100644 --- a/src/apis/emscripten/time.rs +++ b/src/apis/emscripten/time.rs @@ -1,7 +1,6 @@ use super::utils::{copy_cstr_into_wasm, write_to_buf}; use libc::{ c_int, - c_long, clock_gettime as libc_clock_gettime, localtime, localtime_r,