Fix an uninitialized variable warning
Not an issue in practice because that value is never used unless the accompanying isValid is true, but the compiler can't know that.
This commit is contained in:
parent
26eabca9de
commit
c5c9c046aa
@ -462,7 +462,7 @@ void OptionsView::AmbientAirTempToTextBox(float airTemp)
|
|||||||
void OptionsView::UpdateAirTemp(String temp, bool isDefocus)
|
void OptionsView::UpdateAirTemp(String temp, bool isDefocus)
|
||||||
{
|
{
|
||||||
// Parse air temp and determine validity
|
// Parse air temp and determine validity
|
||||||
float airTemp;
|
float airTemp = 0;
|
||||||
bool isValid;
|
bool isValid;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user