ResReadSim.c: warning: this 'if' clause does not guard...

break keyword indention corrected, braces added to better
convey code intention of multiline statement.

GCC14 -Wall cleanup series [-Wmisleading-indentation]
This commit is contained in:
Darryl L. Miles 2024-10-04 17:04:43 +01:00 committed by Tim Edwards
parent 967b41343b
commit 0cde303563
1 changed files with 3 additions and 1 deletions

View File

@ -178,9 +178,11 @@ ResReadSim(simfile, fetproc, capproc, resproc, attrproc, mergeproc, subproc)
break; break;
case 'A': case 'A':
if (attrproc) if (attrproc)
{
result = (*attrproc)(line[ATTRIBUTENODENAME], result = (*attrproc)(line[ATTRIBUTENODENAME],
line[ATTRIBUTEVALUE], simfile, &extfile); line[ATTRIBUTEVALUE], simfile, &extfile);
break; }
break;
case 'x': case 'x':
fettype = DBNumTypes; fettype = DBNumTypes;
break; break;