fix warn reports for buffer oveeruns

also misc uninitialized vars
This commit is contained in:
AzaezelX 2023-04-26 22:29:32 -05:00
parent 1230d0d280
commit 9e036f142b
6 changed files with 11 additions and 9 deletions

View file

@ -146,7 +146,7 @@ bool isFloat(const char* str, bool sciOk = false)
}
break;
case '.':
if(seenDot | (sciOk && eLoc != -1))
if(seenDot || (sciOk && eLoc != -1))
return false;
seenDot = true;
break;