diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-13 10:08:28 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-11-16 09:23:39 +0100 |
commit | 065559c3d8194ee8ac2a251091eddb5da803d105 (patch) | |
tree | f0b9d9d9fbd548f450dad116cb79f95051f0b0cd /core/uemis-downloader.c | |
parent | 2f77716e8f9bef3f9ef26dfdcb99f17e681c4c6f (diff) | |
download | subsurface-065559c3d8194ee8ac2a251091eddb5da803d105.tar.gz |
Core: set gas use to zero if no values are given
In get_gas_used() the use was left uninitialized if there are neither
user- nor computer-supplied values. This gives random SACs in the UI.
Initialize to 0.
Fixes #2376.
Reported-by: Stefan Fuchs <sfuchs@gmx.de>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/uemis-downloader.c')
0 files changed, 0 insertions, 0 deletions