Skip to content

Conversation

@catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
None, simple cleanup
Describe changes:

  • fix clippy 1.93 warnings (unnecessary_unwrap)
  • update rust version in CI to 1.93

warning: called `unwrap` on `rd.pipe` after checking its variant with `is_some`
   --> src/smb/smb1.rs:858:28
    |
857 |             if rd.pipe.is_some() {
    |             -------------------- help: try: `if let Some(<item>) = rd.pipe`
858 |                 let pipe = rd.pipe.unwrap();
    |                            ^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#unnecessary_unwrap
    = note: `#[warn(clippy::unnecessary_unwrap)]` on by default
@victorjulien victorjulien added this to the 9.0 milestone Jan 23, 2026
@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

❌ Patch coverage is 29.41176% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.13%. Comparing base (9df5fd1) to head (b944e3b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14681      +/-   ##
==========================================
+ Coverage   82.11%   82.13%   +0.02%     
==========================================
  Files        1011     1011              
  Lines      262924   262922       -2     
==========================================
+ Hits       215896   215956      +60     
+ Misses      47028    46966      -62     
Flag Coverage Δ
fuzzcorpus 60.23% <29.41%> (+<0.01%) ⬆️
livemode 18.74% <0.00%> (+0.03%) ⬆️
pcap 44.66% <29.41%> (+0.08%) ⬆️
suricata-verify 65.33% <29.41%> (+0.01%) ⬆️
unittests 59.27% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 29264

@victorjulien victorjulien merged commit b944e3b into OISF:main Jan 24, 2026
119 checks passed
@victorjulien
Copy link
Member

Merged in #14683, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants