Merge pull request #14010 from lemenkov/initialize_before_use

Initialize vars before use
This commit is contained in:
Daniel 2023-03-06 17:11:26 +01:00 committed by GitHub
commit 9ace80c7ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -540,8 +540,8 @@ void Scanner::scanToken()
Token token;
// M and N are for the purposes of grabbing different type sizes
unsigned m;
unsigned n;
unsigned m = 0;
unsigned n = 0;
do
{
// Remember the position of the next token