]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/ike: prefix never read field names with _ 11309/head
authorJason Ish <jason.ish@oisf.net>
Thu, 13 Jun 2024 20:28:23 +0000 (14:28 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 15 Jun 2024 13:43:35 +0000 (15:43 +0200)
commit49ecf37126b1465d0a49224f753c69aa204aa700
treeae39ee49e729c8386be8d5cb8276932d11092dcd
parent29d7ff026a3aca5a718f09112c3c0304feb4b453
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