Closed AngeloFrangione closed 3 years ago
Hi @AngeloFrangione ! Thanks for submitting this issue. This assignment statement was there to ensure initialization, but you are right - it is not required. I removed it in https://github.com/likle/cwalk/commit/ddb4388423ef55ed92cbd9ecac4194881fbeaa80 on the master branch. Please let me know if you encounter more issues!
It should be fine now ! Thank you!
Hi!
I'm using cwalk in my project and i use the clang static analyzer tool for scanning my code and it scans cwalk too. And he finds an useless set of a variable in the code since multiple commits.
That means it is useless to define it to false in the present code. Because you set it to anything else before using it. Do you intend to use it in the future ? It's nice that it's the only problem found by this tool, usually there are a ton !