Project

General

Profile

Actions

Optimization #4595

closed
JF SM

Optimization #4591: Fix Rust clippy lints

Fix warning about "comparing with null"

Optimization #4595: Fix warning about "comparing with null"

Added by Juliana Fajardini Reichow over 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:
Beginner, Good First Issue, Outreachy, Rust

Description

We are working on cleaning our Rust code from lint warnings.

For resolving this issue, please check the rust code and fix warnings related to
"comparing with null is better expressed by the `.is_null()` method".

For more details on this warning, check
https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null

More information on the parent issue.


Related issues 1 (0 open1 closed)

Copied to Suricata - Optimization #5577: Fix warning about "comparing with null" in debug codeClosedJason IshActions

JF Updated by Juliana Fajardini Reichow over 4 years ago Actions #1

  • Description updated (diff)

SM Updated by Sam Mohammad over 4 years ago Actions #2

Can I claim this Ticket?

JF Updated by Juliana Fajardini Reichow over 4 years ago Actions #3

Yes, you can! :)

Please wait a few hours for your user status to be updated. In the meantime, you may start working on it.

Thanks!

VJ Updated by Victor Julien over 4 years ago Actions #4

  • Status changed from New to Assigned
  • Assignee set to Sam Mohammad

SM Updated by Sam Mohammad over 4 years ago Actions #5

  • Description updated (diff)

SM Updated by Sam Mohammad over 4 years ago Actions #6

  • Description updated (diff)

SM Updated by Sam Mohammad over 4 years ago Actions #7

  • Description updated (diff)

SM Updated by Sam Mohammad over 4 years ago Actions #8

  • Status changed from Assigned to In Review

SM Updated by Sam Mohammad over 4 years ago Actions #9

  • Description updated (diff)
  • Status changed from In Review to Closed

JI Updated by Jason Ish over 3 years ago Actions #11

  • Copied to Optimization #5577: Fix warning about "comparing with null" in debug code added

VJ Updated by Victor Julien over 3 years ago Actions #12

  • Target version set to 7.0.0-beta1
Actions

Also available in: PDF Atom