Fixed travis build warning (Check Internal).
This commit is contained in:
parent
ee5cd91d51
commit
d19f676547
|
@ -6526,7 +6526,7 @@ bool Tokenizer::simplifyKnownVariablesGetData(unsigned int varid, Token **_tok2,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add a '.0' to a decimal value and therefore convert it to an floating point number.
|
// Add a '.0' to a decimal value and therefore convert it to an floating point number.
|
||||||
else if (MathLib::isDec(tok2->tokAt(2)->str()) && floatvar) {
|
else if (MathLib::isDec(tok2->strAt(2)) && floatvar) {
|
||||||
value += ".0";
|
value += ".0";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue