Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning: field is never read #66

Closed
etaylor77 opened this issue Mar 7, 2022 · 1 comment
Closed

warning: field is never read #66

etaylor77 opened this issue Mar 7, 2022 · 1 comment
Assignees
Labels
wontfix This will not be worked on

Comments

@etaylor77
Copy link

Running Ubuntu 20.04 and getting the following errors when launching cargo build

warning: field is never read: category--> src/convert/sigma.rs:22:5 | 22 | pub category: Option<String>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note:#[warn(dead_code)]` on by default

warning: field is never read: product
--> src/convert/sigma.rs:24:5
|
24 | pub product: Option,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: field is never read: service
--> src/convert/sigma.rs:26:5
|
26 | pub service: Option,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: field is never read: logsource
--> src/convert/sigma.rs:50:5
|
50 | pub logsource: Option,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: chainsaw (lib) generated 4 warnings
Finished release [optimized] target(s) in 3m 30s
`

@FranticTyping FranticTyping self-assigned this Mar 7, 2022
@FranticTyping FranticTyping added the wontfix This will not be worked on label Mar 10, 2022
@FranticTyping
Copy link
Collaborator

Hi @etaylor77,

These are just warnings and not errors. They're only there because there are a few fields that are declared but not used, it won't impact the tool.

The compiled binary will still be available in the release section.

I'll probably remove these in the next release, but it's a non-issue imo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants