aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-12-12 09:31:29 -0800
committerJoe Wilm <joe@jwilm.com>2016-12-12 09:31:29 -0800
commit4e9a307bed50fc02f101eb6cbfa4d39283dd6b8c (patch)
treec0b64ec25e0d61ce2f393b2eb79f1e71e24b50d0 /src/input.rs
parent4b63bddd55853e878ec0f85b4613dd02749a3811 (diff)
downloadalacritty-4e9a307bed50fc02f101eb6cbfa4d39283dd6b8c.tar.gz
alacritty-4e9a307bed50fc02f101eb6cbfa4d39283dd6b8c.zip
Fix a couple of compiler warnings
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/input.rs b/src/input.rs
index 0aa3a738..744a462e 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -34,7 +34,6 @@ use glutin::{TouchPhase, MouseScrollDelta};
use config::Config;
use event_loop;
use index::{Line, Column};
-use sync::FairMutex;
use term::mode::{self, TermMode};
use term::{self, Term};
@@ -273,8 +272,10 @@ impl Processor {
if let Some((line, column)) = self.size_info.pixels_to_coords(x as usize, y as usize) {
// Swap values for following comparison
- let line = mem::replace(&mut self.mouse.line, line);
- let column = mem::replace(&mut self.mouse.column, column);
+ let _line = mem::replace(&mut self.mouse.line, line);
+ let _column = mem::replace(&mut self.mouse.column, column);
+
+ // TODO process changes
}
}