From c7aa8cd8459084a206bdea57be2488297239111f Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Mon, 6 Jan 2020 11:42:09 -0800 Subject: [PATCH] fix some warnings --- src/frontend/gui/mod.rs | 2 -- src/main.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend/gui/mod.rs b/src/frontend/gui/mod.rs index 8602afd5f..f6e8ee76c 100644 --- a/src/frontend/gui/mod.rs +++ b/src/frontend/gui/mod.rs @@ -8,8 +8,6 @@ use ::window::*; use promise::{BasicExecutor, Executor, SpawnFunc}; use std::rc::Rc; use std::sync::atomic::{AtomicBool, Ordering}; -use std::sync::{Arc, Mutex}; -use std::time::{Duration, Instant}; mod glyphcache; mod quad; diff --git a/src/main.rs b/src/main.rs index 8a746986a..b3b4952e0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -784,7 +784,7 @@ fn run() -> anyhow::Result<()> { // Keep the threads below alive forever; they'll // exit the process when they're done. - let activity = Activity::new(); + let _activity = Activity::new(); // Spawn a thread to pull data from the socket and write // it to stdout