Fix variable being used without being initialized

This commit is contained in:
Germano Cavalcante 2022-06-09 10:11:14 -03:00
parent f37a37cafe
commit 6d726192be
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ static size_t unit_as_string(char *str,
}
double value_conv = (value / unit->scalar) - unit->bias;
bool strip_skip;
bool strip_skip = false;
/* Adjust precision to expected number of significant digits.
* Note that here, we shall not have to worry about very big/small numbers, units are expected