summaryrefslogtreecommitdiffstats
path: root/qt-ui/starwidget.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-02 10:38:09 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-11-02 10:38:09 -0800
commit9eb55a0fc6b13dfd608009cac275bdbbbb71592c (patch)
treeb289e0588816d61a2483b7376493746521046a63 /qt-ui/starwidget.cpp
parent6ce0afb99ccbc5fe940c4ca727afcf9cd33dffd5 (diff)
downloadsubsurface-9eb55a0fc6b13dfd608009cac275bdbbbb71592c.tar.gz
Prevent segfault for dive with gas change but no samples
Not quite sure where such a dive would come from, but anyway, just don't dereference the pointer unless it's non-NULL. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/starwidget.cpp')
0 files changed, 0 insertions, 0 deletions