From af161394addaf801a30d9e705aeb978786c9bedf Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 21 Mar 2016 19:40:56 +0100 Subject: [PATCH] Remove dead code in configuration.rs --- libimagstore/src/configuration.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libimagstore/src/configuration.rs b/libimagstore/src/configuration.rs index 67712d78..9c173292 100644 --- a/libimagstore/src/configuration.rs +++ b/libimagstore/src/configuration.rs @@ -47,10 +47,6 @@ pub fn config_is_valid(config: &Option) -> bool { return true; } - fn has_key_with_map(v: &BTreeMap, key: &str) -> bool { - v.get(key).map(|t| match t { &Value::Table(_) => true, _ => false }).unwrap_or(false) - } - fn has_key_with_string_ary(v: &BTreeMap, key: &str) -> bool { v.get(key) .map(|t| match t {