diff --git a/src/config.rs b/src/config.rs index df7d244..92893e5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -47,6 +47,7 @@ pub struct SetMap { #[derive(Debug, Clone)] pub struct Flags { + #[allow(dead_code)] pub debug: bool, pub server: String, } diff --git a/src/fw.rs b/src/fw.rs index d687c6c..498c449 100644 --- a/src/fw.rs +++ b/src/fw.rs @@ -15,6 +15,7 @@ pub enum FwTableType { IPv6, } +#[allow(dead_code)] pub enum FwAction { Add, Delete, @@ -201,6 +202,7 @@ pub async fn get_current_rules( Ok(()) } -pub fn fw_rules_count() -> i64 { +#[allow(dead_code)] +fn fw_rules_count() -> i64 { 0 }