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

A few more missed warnings. #31

Open
briefnotion opened this issue Dec 31, 2024 · 1 comment
Open

A few more missed warnings. #31

briefnotion opened this issue Dec 31, 2024 · 1 comment

Comments

@briefnotion
Copy link

I noticed that a few "Unused Variable" warnings were missed during the previous sweep. Thought it would be helpful to point them out in the inline file:

Line: 34873 - 34875, changed to:
//static void allow_exceptions(bool enable) {use_exceptions = enable;}
//static void show_requests(bool enable) {log_requests = enable;}
//static void show_replies(bool enable) {log_replies = enable;}

Line added at 29769:
(void)content_length;

Not sure why it gets flagged as unused variable, but voiding it out before the return statement helps.

Again, thanks for the work you've done.

@jmont-dev
Copy link
Owner

Thanks @briefnotion. Will take a look and get back to you shortly on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants