1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0028643: Coding rules - eliminate GCC compiler warnings -Wmisleading-indentation

This commit is contained in:
kgv
2017-04-08 14:50:24 +03:00
committed by bugmaster
parent 14c4193d11
commit c48e2889cd
68 changed files with 1691 additions and 1060 deletions

View File

@@ -3055,7 +3055,14 @@ Handle(IFSelect_Selection) IFSelect_WorkSession::GiveSelection
}
Handle(IFSelect_Selection) sel;
if (np >= 0) nomsel[np] = 0; if (nf >= 0) nomsel[nf] = '\0';
if (np >= 0)
{
nomsel[np] = 0;
}
if (nf >= 0)
{
nomsel[nf] = '\0';
}
Handle(Standard_Transient) item = NamedItem(nomsel);
// Parentheses ? essayer Signature (plus tard : Selection parametree)
@@ -3171,7 +3178,8 @@ Handle(TColStd_HSequenceOfTransient) IFSelect_WorkSession::GiveListFromList
if (selname[i] == ' ') continue;
if (selname[i] == ',' || selname[i] == ')') {
entid[j] = '\0';
if (j == 0) continue; j = 0;
if (j == 0) continue;
j = 0;
num = NumberFromLabel (entid);
if (num <= 0 || !numap.Add (num)) continue;
Handle(Standard_Transient) anent = StartingEntity(num);