diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-29 13:37:32 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-29 13:37:32 -0800 |
commit | 4e40872fc0ec5df8fd24e71e142f79ce5333307e (patch) | |
tree | 17acf0d4cc40408ed9f735d0288aa9912604ec48 /divecomputer.cpp | |
parent | 962e71d495c5184cde7a33259ef945417334f0f0 (diff) | |
download | subsurface-4e40872fc0ec5df8fd24e71e142f79ce5333307e.tar.gz |
Prevent potential access to uninitialized variable
If we have a dive with no data (e.g. from a failed import), we might never
assign a value otherwise.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divecomputer.cpp')
0 files changed, 0 insertions, 0 deletions