diff options
-rw-r--r-- | qt-ui/maintab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index 9810ab5a8..21451d9e0 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -442,7 +442,7 @@ void MainTab::updateDiveInfo(int dive) ui.otuText->setText(QString("%1").arg(d->otu)); ui.waterTemperatureText->setText(get_temperature_string(d->watertemp, TRUE)); ui.airTemperatureText->setText(get_temperature_string(d->airtemp, TRUE)); - volume_t gases[MAX_CYLINDERS] = { 0 }; + volume_t gases[MAX_CYLINDERS] = {}; get_gas_used(d, gases); QString volumes = get_volume_string(gases[0], TRUE); int mean[MAX_CYLINDERS], duration[MAX_CYLINDERS]; |