aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
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() {