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

Remove dead member vars from SimpleSerialAnalyzer.h #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bigjosh
Copy link

@bigjosh bigjosh commented Sep 12, 2023

These were probably left over from an older version and are now unreferenced, and could be confusing to newbees looking at this sample template.

Probably best practice to keep all parser state local inside the worker thread anyway? Is there ever a good reason to modify the analyzer and results class headers?

Remove dead members
@Marcus10110
Copy link
Contributor

Thanks for submitting this, and sorry for the very long delay!

mSampleRateHz is still in use, but it could be replaced with a local variable in SimpleSerialAnalyzer::WorkerThread(). The other member variables are unused.

I went ahead and did that here, I still need to test it though: #39

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

Successfully merging this pull request may close these issues.

2 participants