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)]
pub struct Flags {
#[allow(dead_code)]
pub debug: bool,
pub server: String,
}

View File

@ -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
}