diff options
author | Chris Robinson <[email protected]> | 2017-12-31 23:19:41 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-12-31 23:19:41 -0800 |
commit | 6dd1643a701c45fa779ea6da180f120c36c31a97 (patch) | |
tree | c2281617aa0ebf9fec4c67f351bbaa3c88ae10a4 /cmake/FindSDL_sound.cmake | |
parent | 48916ebd76811086c877e64820aaa7af4735272a (diff) |
Avoid dereferencing a NULL pointer
Even though it's taking the address of a member, it's still technically a
derefernce and thus undefined behavior. sizeof doesn't "execute" the
expression, so derefering in it instead is fine.
Diffstat (limited to 'cmake/FindSDL_sound.cmake')
0 files changed, 0 insertions, 0 deletions