#![allow(clippy::module_inception)]
#![allow(clippy::never_loop)]
#![allow(clippy::new_without_default)]
-#![allow(clippy::nonminimal_bool)]
#![allow(clippy::redundant_pattern_matching)]
#![allow(clippy::result_unit_err)]
#![allow(clippy::type_complexity)]
Some(n) => (n.name.to_vec(), n.is_pipe),
_ => { (Vec::new(), false) },
};
- let mut is_dcerpc = if is_pipe || (share_name.is_empty() && !is_pipe) {
+ let mut is_dcerpc = if is_pipe || share_name.is_empty() {
state.get_service_for_guid(&file_guid).1
} else {
false
Some(n) => { (n.name.to_vec(), n.is_pipe) },
_ => { (Vec::new(), false) },
};
- let mut is_dcerpc = if is_pipe || (share_name.is_empty() && !is_pipe) {
+ let mut is_dcerpc = if is_pipe || share_name.is_empty() {
state.get_service_for_guid(wr.guid).1
} else {
false