lint fixes

This commit is contained in:
Will Greenberg
2024-02-13 14:47:41 -08:00
parent 5d7caba1a6
commit d4ee48827c
2 changed files with 2 additions and 4 deletions

View File

@@ -47,7 +47,5 @@ pub trait Analyzer {
/// heuristic deems it relevant. Again, be mindful of any state your
/// [Analyzer] updates per message, since it may be run over hundreds or
/// thousands of them alongside many other [Analyzers](Analyzer).
fn analyze_information_element(&mut self, ie: &InformationElement) -> Option<Event> {
None
}
fn analyze_information_element(&mut self, ie: &InformationElement) -> Option<Event>;
}

View File

@@ -74,7 +74,7 @@ impl TryFrom<&GsmtapMessage> for LteInformationElement {
L::BcchDlSchMbms => Ok(R::BcchDlSchMbms(decode(&gsmtap_msg.payload)?)),
L::SbcchSlBch => Ok(R::SbcchSlBch(decode(&gsmtap_msg.payload)?)),
L::SbcchSlBchV2x => Ok(R::SbcchSlBchV2x(decode(&gsmtap_msg.payload)?)),
subtype => Err(InformationElementError::UnsupportedGsmtapType(gsmtap_msg.header.gsmtap_type)),
_ => Err(InformationElementError::UnsupportedGsmtapType(gsmtap_msg.header.gsmtap_type)),
};
}
Err(InformationElementError::UnsupportedGsmtapType(gsmtap_msg.header.gsmtap_type))