Project

General

Profile

Actions

Optimization #4595

closed

Optimization #4591: Fix Rust clippy lints

Fix warning about "comparing with null"

Added by Juliana Fajardini Reichow over 3 years ago. Updated about 2 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
Actions #1

Updated by Juliana Fajardini Reichow over 3 years ago

  • Description updated (diff)
Actions #2

Updated by Sam Mohammad about 3 years ago

Can I claim this Ticket?

Actions #3

Updated by Juliana Fajardini Reichow about 3 years ago

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!

Actions #4

Updated by Victor Julien about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to Sam Mohammad
Actions #5

Updated by Sam Mohammad about 3 years ago

  • Description updated (diff)
Actions #6

Updated by Sam Mohammad about 3 years ago

  • Description updated (diff)
Actions #7

Updated by Sam Mohammad about 3 years ago

  • Description updated (diff)
Actions #8

Updated by Sam Mohammad about 3 years ago

  • Status changed from Assigned to In Review
Actions #9

Updated by Sam Mohammad about 3 years ago

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

Updated by Jason Ish about 2 years ago

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

Updated by Victor Julien about 2 years ago

  • Target version set to 7.0.0-beta1
Actions

Also available in: Atom PDF