Skip to content

Conversation

@catenacyber
Copy link
Contributor

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

(cherry picked from commit 02cb0f2)

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
none

Describe changes:

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

(cherry picked from commit 02cb0f2)
@codecov
Copy link

codecov bot commented Jan 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.47%. Comparing base (96f7549) to head (f79c115).
⚠️ Report is 2 commits behind head on main-7.0.x.

Additional details and impacted files
@@              Coverage Diff               @@
##           main-7.0.x   #14716      +/-   ##
==============================================
- Coverage       81.48%   81.47%   -0.01%     
==============================================
  Files             925      925              
  Lines          252657   252656       -1     
==============================================
- Hits           205865   205859       -6     
- Misses          46792    46797       +5     
Flag Coverage Δ
fuzzcorpus 62.21% <100.00%> (-0.01%) ⬇️
suricata-verify 63.66% <100.00%> (+0.02%) ⬆️
unittests 62.16% <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

WARNING:

field baseline test %
SURI_TLPR1_stats_chk
.uptime 650 628 96.62%

Pipeline = 29338

@victorjulien victorjulien added this to the 7.0 milestone Jan 29, 2026
@victorjulien
Copy link
Member

Merged in #14719, 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.

4 participants