vvenc
vvenc copied to clipboard
Remove unnecessary null pointer checks
An extra null pointer check is not needed in functions like the following.
It's also not wrong tho. We might change it eventually. Feel free to make a PR for it.
:thought_balloon: Would you become interested to use a development tool like “clang-tidy” for corresponding source code adjustments?
I've been playing around with that idea but nobody knows this tool around here. We would need external help to set it up.
On similar note, it would also be nice to have a more strict enforcement of style guides.
:thought_balloon: Would you like to take the C++ guideline “R.11: Avoid calling new and delete explicitly” better into account?
It seems I'm talking to a bot. Locking this conversation. If someone is interested to help, please do. If its necessary to continue this discussion, please open a new issue.
Unlocking. Apparently I was wrong. Please stick to the discussion until opening a new topic.