allow some dead code
This commit is contained in:
parent
dc09883c36
commit
98a75d2dcd
@ -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,
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user