brainboxdotcc / DPP

C++ Discord API Bot Library - D++ is Lightweight and scalable for small and huge bots!
https://dpp.dev/
Apache License 2.0
1.04k stars 158 forks source link

capturing "bot" is not needed. Removing it resolves an unused variable warning. #1131

Closed Erarnitox closed 4 months ago

Erarnitox commented 4 months ago

Alternatively you could please mark the bot variable as unused by casting it to void. This would clean up a warning for library consumers who happen to build unit tests also.

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 4 months ago

Thank you for your contribution, but PRs must be raised against the dev branch. Please log your pull request against the dev branch not master. You can also retarget this pull request, then reopen it.