From 6a817022a7301d89a2d93be400294f78b5dae0b4 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Sun, 26 Jul 2015 15:56:08 +0200 Subject: Use existing context, instead of mock context for freq --- src/main.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main.rs b/src/main.rs index 8a8f289..a566087 100644 --- a/src/main.rs +++ b/src/main.rs @@ -161,11 +161,6 @@ fn main() { let stdin = io::stdin(); let mut stats: HashMap = HashMap::new(); - let context = Context { - timezone: FixedOffset::west(0), - override_date: Some(NaiveDate::from_ymd(2015, 6, 10)), - channel: Some("#code".to_owned()) - }; let mut parser = format::weechat3::Weechat3; for e in parser.decode(&context, stdin.lock()) { -- cgit v1.2.3