From 84fea67f78f66c38066ba3d7b248cc502f55c85b Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 23 Sep 2018 22:37:25 +0200 Subject: Drop unused variables from examples. --- examples/fetch-abconfig.rs | 2 -- examples/fetch-connections.rs | 2 -- 2 files changed, 4 deletions(-) (limited to 'examples') diff --git a/examples/fetch-abconfig.rs b/examples/fetch-abconfig.rs index 289097e..329d3b1 100644 --- a/examples/fetch-abconfig.rs +++ b/examples/fetch-abconfig.rs @@ -27,8 +27,6 @@ fn main() { let user = env::var("HZ_USER").expect("HZ_USER variable expected"); let password = env::var("HZ_PASSWORD").expect("HZ_PASSWORD variable expected"); - let mut a = env::args(); - let program = a.next().unwrap(); let client = zotapi::client(&site, &user, &password); match client.abconfig().fetch() { diff --git a/examples/fetch-connections.rs b/examples/fetch-connections.rs index 66e1141..9a9f974 100644 --- a/examples/fetch-connections.rs +++ b/examples/fetch-connections.rs @@ -27,8 +27,6 @@ fn main() { let user = env::var("HZ_USER").expect("HZ_USER variable expected"); let password = env::var("HZ_PASSWORD").expect("HZ_PASSWORD variable expected"); - let mut a = env::args(); - let program = a.next().unwrap(); let client = zotapi::client(&site, &user, &password); match client.abook().fetch() { -- cgit v1.2.3