mirror of
https://github.com/okhsunrog/vpnhide.git
synced 2026-04-26 13:42:35 +00:00
chore(zygisk): drop redundant allow(dead_code) on is_vpn_iface_cstr
The function is called from hooks.rs (hooked_getifaddrs and walk_getifaddrs_vpn). It's been used since the helper was added — the allow attribute is leftover from before its callers landed. clippy --release and cargo test both clean without it.
This commit is contained in:
parent
5969ed9173
commit
87a2041b88
1 changed files with 0 additions and 1 deletions
|
|
@ -23,7 +23,6 @@ pub fn is_vpn_iface_bytes(name: &[u8]) -> bool {
|
|||
}
|
||||
|
||||
/// Convenience wrapper: takes a `CStr` and dispatches to `is_vpn_iface_bytes`.
|
||||
#[allow(dead_code)]
|
||||
pub fn is_vpn_iface_cstr(name: &CStr) -> bool {
|
||||
is_vpn_iface_bytes(name.to_bytes())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue