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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user