]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/ike: prefix never read field names with _ 11348/head
authorJason Ish <jason.ish@oisf.net>
Thu, 20 Jun 2024 16:27:24 +0000 (10:27 -0600)
committerVictor Julien <victor@inliniac.net>
Fri, 21 Jun 2024 08:21:24 +0000 (10:21 +0200)
commit82b502ec25ce4c39a63753d18d66276ec9fd1713
treed995dfac9c59d96382e23a3f7839fe56a323b034
parent192ef5bb90b8086bae15d2ad869893c3d0095515
rust/ike: prefix never read field names with _

New warning from rustc.

The other option is to allow dead code, however this is more explicit,
and when they are read, its obvious they should be renamed.
rust/src/ike/parser.rs