Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
Clear the warning in the mouse example
Browse files Browse the repository at this point in the history
We're getting "unused variable `flags`" because we're not using it.
  • Loading branch information
tomassedovic committed Mar 8, 2015
1 parent 48f1c31 commit 83956f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mouse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fn main() {
None => {
break;
}
Some((flags, event)) => {
Some((_, event)) => {
match event {
tcod::system::Event::Key(ref key_state) => {
println!("{:?}", key_state);
Expand Down

0 comments on commit 83956f8

Please sign in to comment.