Lubomir I. Ivanov 0778e3e18c divelogexportdialog.cpp: fix a 'uninitialized variable' warning
DiveLogExportDialog::export_depths()

We set a default value of 'unit' which will silence the warning itself.
Then hope that the compiler will respect the argument order i.e. call
get_depth_units() (which sets 'unit') before using *unit as the last
argument passsed to put_format().

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-10-27 07:36:28 -07:00
..
2014-06-26 15:47:02 -07:00
2014-02-08 08:00:27 -08:00
2014-10-14 20:33:46 +02:00
2014-10-14 20:33:46 +02:00
2014-10-14 20:33:46 +02:00
2014-10-14 20:33:46 +02:00
2014-06-26 15:47:02 -07:00
2014-10-27 07:35:53 -07:00
2014-06-26 15:47:02 -07:00
2014-10-15 22:53:10 +02:00
2014-09-18 06:38:03 -07:00
2014-10-18 15:16:15 -07:00
2014-10-18 15:16:15 -07:00
2014-10-18 15:16:15 -07:00
2014-10-19 07:23:36 -07:00
2014-10-19 07:23:36 -07:00
2014-10-18 15:16:15 -07:00
2014-10-18 15:16:15 -07:00
2014-09-18 06:24:05 -07:00
2014-10-19 07:24:15 -07:00
2014-06-26 15:47:02 -07:00
2014-07-18 10:21:42 -07:00
2014-08-08 11:13:05 -07:00
2014-07-16 09:11:04 -07:00