diff --git a/src/gui/options/OptionsView.cpp b/src/gui/options/OptionsView.cpp index ce25eb826..6de3fe2d2 100644 --- a/src/gui/options/OptionsView.cpp +++ b/src/gui/options/OptionsView.cpp @@ -462,7 +462,7 @@ void OptionsView::AmbientAirTempToTextBox(float airTemp) void OptionsView::UpdateAirTemp(String temp, bool isDefocus) { // Parse air temp and determine validity - float airTemp; + float airTemp = 0; bool isValid; try {