aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-23 22:37:25 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-23 22:37:25 +0200
commit84fea67f78f66c38066ba3d7b248cc502f55c85b (patch)
tree501f6a85ad3b477169628f8c8e2960496dcd59b0 /examples
parentce5a59c81ba15b6222fb675a4fb9fc2799e91608 (diff)
downloadrust-zotapi-84fea67f78f66c38066ba3d7b248cc502f55c85b.tar.gz
rust-zotapi-84fea67f78f66c38066ba3d7b248cc502f55c85b.tar.bz2
rust-zotapi-84fea67f78f66c38066ba3d7b248cc502f55c85b.zip
Drop unused variables from examples.
Diffstat (limited to 'examples')
-rw-r--r--examples/fetch-abconfig.rs2
-rw-r--r--examples/fetch-connections.rs2
2 files changed, 0 insertions, 4 deletions
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() {