diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-01-23 14:28:56 +1300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-01-23 14:41:17 +1300 |
commit | 2f9bf92a1792cc99afa03190d05d833280ccd881 (patch) | |
tree | e47c15057ccac82a4e8ec5fa008ebddc0c62093d /core/libdivecomputer.h | |
parent | 21c81d5b871f5cf36c49e9020511f51a325169fb (diff) | |
download | subsurface-2f9bf92a1792cc99afa03190d05d833280ccd881.tar.gz |
Bluetooth: don't crash if BT is turned off
At least on a Mac we can get here without a discoveryAgent if BT is off,
so don't derefence the NULL pointer in that case.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/libdivecomputer.h')
0 files changed, 0 insertions, 0 deletions