allow some dead code
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Paul 2024-12-21 07:18:04 +01:00
parent dc09883c36
commit 98a75d2dcd
2 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,7 @@ pub struct SetMap {
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
pub struct Flags { pub struct Flags {
#[allow(dead_code)]
pub debug: bool, pub debug: bool,
pub server: String, pub server: String,
} }

View File

@ -15,6 +15,7 @@ pub enum FwTableType {
IPv6, IPv6,
} }
#[allow(dead_code)]
pub enum FwAction { pub enum FwAction {
Add, Add,
Delete, Delete,
@ -201,6 +202,7 @@ pub async fn get_current_rules(
Ok(()) Ok(())
} }
pub fn fw_rules_count() -> i64 { #[allow(dead_code)]
fn fw_rules_count() -> i64 {
0 0
} }