Actions
Optimization #4711
closedClang 14 and rust nightly new warnings
Effort:
Difficulty:
Label:
Description
warning: field is never read: `position` --> /src/suricata/rust/src/jsonbuilder.rs:83:5 | 83 | position: usize, | ^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field is never read: `state_index` --> /src/suricata/rust/src/jsonbuilder.rs:84:5 | 84 | state_index: usize, | ^^^^^^^^^^^^^^^^^^ warning: field is never read: `state` --> /src/suricata/rust/src/jsonbuilder.rs:85:5 | 85 | state: State, | ^^^^^^^^^^^^ warning: field is never read: `file_size` --> /src/suricata/rust/src/filetracker.rs:54:5 | 54 | file_size: u64, | ^^^^^^^^^^^^^^
detect-engine-build.c:632:14: warning: variable 'mpms_total' set but not used [-Wunused-but-set-variable] uint32_t mpms_total = 0; ^ detect-engine-analyzer.c:1319:14: warning: variable 'rule_flowint' set but not used [-Wunused-but-set-variable] uint32_t rule_flowint = 0; flow-manager.c:809:14: warning: variable 'hash_row_checks' set but not used [-Wunused-but-set-variable] uint32_t hash_row_checks = 0; ^ flow-manager.c:810:14: warning: variable 'hash_passes_chunks' set but not used [-Wunused-but-set-variable] uint32_t hash_passes_chunks = 0; ^
Updated by Philippe Antoine about 3 years ago
Updated by Philippe Antoine about 3 years ago
- Status changed from In Review to Closed
Actions