Skip to content

Conversation

@victorjulien
Copy link
Member

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)
(cherry picked from commit b944e3b)
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline = 29285

@victorjulien victorjulien merged commit 34c93ef into OISF:main-8.0.x Jan 27, 2026
116 checks passed
@victorjulien victorjulien deleted the next/1192/80x/20260126/v1 branch January 27, 2026 06:16
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