diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-27 15:54:33 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-28 05:44:33 -0700 |
commit | b0a00cd15de4b255139fefde3da36c28bd0b31bc (patch) | |
tree | 4ee5c0946fe29da98cf8e34d9018fda1d9cbc3d2 /core/divelist.c | |
parent | 81ea47a498b04e5f057e9d009fb73d9d559b37b5 (diff) | |
download | subsurface-b0a00cd15de4b255139fefde3da36c28bd0b31bc.tar.gz |
Cleanup: use helper to avoid NULL dereference
We have these helper functions for exactly this purpose.
Found by Coverity. Fixes CID 350129
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/divelist.c')
0 files changed, 0 insertions, 0 deletions