summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorMike Beaton <mjsbeaton@gmail.com>2025-11-20 10:46:51 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-03 15:29:51 +0300
commit53cca9ed9995abdac9fed01aa54c4bf5195f48aa (patch)
tree56e14d8723673ab4d5b534d4707ec4dc9ad7d7be /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parentf79cfc8eafa56dbc4619e2e764e5cf56a4babc6d (diff)
downloadedk2-53cca9ed9995abdac9fed01aa54c4bf5195f48aa.tar.xz
BaseTools/VfrCompile: Minor code cleanup
There are no functional changes in this commit. It adds non-functional minor code cleanups made while tracking down the bugs fixed in the preceding commits. - Fix spelling 'arrary' -> 'array' where it occurs in the tool code and comments. - When renaming ExtractFieldNameAndArrary to ExtractFieldNameAndArrayIdx, we fix the typo and also clarify what the method does: it returns the field name and the array index when present. Since it is always used to populate a local variable named ArrayIdx, we stick to that spelling in the renamed method. - Add comment clarifying that mArrayNum holds array length (but again, don't go for a bigger global rename). - Rename CVfrVarDataTypeDB::GetFieldWidth to GetFieldType. It is only used once, and the new name correctly matches what it does. Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions