Berthold Stoeger 065559c3d8 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>
2019-11-16 09:23:39 +01:00
..
2019-09-27 16:26:58 -07:00
2019-08-08 08:56:44 -07:00
2019-08-08 16:26:31 -07:00
2019-08-08 16:26:31 -07:00
2019-11-09 19:19:04 +01:00
2017-04-29 13:32:55 -07:00
2019-08-11 08:20:38 +02:00
2018-10-21 19:55:09 +03:00
2018-10-21 19:55:09 +03:00
2019-11-12 07:00:37 +01:00
2019-10-14 13:37:17 -07:00
2018-05-30 21:47:07 -07:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2019-10-26 19:17:53 -07:00
2019-09-21 16:12:23 -07:00
2019-11-09 19:19:04 +01:00