mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 17:34:43 +03:00
iASL: use pre-increment for globals to avoid confusion between pointer arithmetic and actual increment
This commit is contained in:
parent
15daa52f2f
commit
40d879fa54
@ -532,18 +532,18 @@ count (
|
||||
{
|
||||
case 2:
|
||||
|
||||
AslGbl_TotalKeywords++;
|
||||
AslGbl_TotalNamedObjects++;
|
||||
AslGbl_FilesList->TotalKeywords++;
|
||||
AslGbl_FilesList->TotalNamedObjects++;
|
||||
++AslGbl_TotalKeywords;
|
||||
++AslGbl_TotalNamedObjects;
|
||||
++AslGbl_FilesList->TotalKeywords;
|
||||
++AslGbl_FilesList->TotalNamedObjects;
|
||||
break;
|
||||
|
||||
case 3:
|
||||
|
||||
AslGbl_TotalKeywords++;
|
||||
AslGbl_TotalExecutableOpcodes++;
|
||||
AslGbl_FilesList->TotalKeywords++;
|
||||
AslGbl_FilesList->TotalExecutableOpcodes++;
|
||||
++AslGbl_TotalKeywords;
|
||||
++AslGbl_TotalExecutableOpcodes;
|
||||
++AslGbl_FilesList->TotalKeywords;
|
||||
++AslGbl_FilesList->TotalExecutableOpcodes;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user