Refactor removing extra space and add break line for { (#5533)

Co-authored-by: maiconpintoabreu <maicon@thinkpad02.exads.com>
This commit is contained in:
Maicon Santana
2026-02-05 14:10:55 +00:00
committed by GitHub
parent d4f636151b
commit f43e049444
18 changed files with 35 additions and 23 deletions

View File

@ -721,7 +721,8 @@ int main(int argc, char *argv[])
char v = structs[i].fieldType[originalIndex][k];
if ((v == '*') || (v == ' ') || (v == ','))
{
if (nameEnd != -1) {
if (nameEnd != -1)
{
// Don't copy to last additional field
if (fieldsRemaining != additionalFields)
{
@ -1011,7 +1012,8 @@ int main(int argc, char *argv[])
((linePtr[c - 4] == 'v') &&
(linePtr[c - 3] == 'o') &&
(linePtr[c - 2] == 'i') &&
(linePtr[c - 1] == 'd'))) {
(linePtr[c - 1] == 'd')))
{
break;
}