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

0031007: Coding - eliminate warnings issued while compiling with -pedantic flag

Removed duplicating semicolons ;;.
Removed redundant semicolon at namespace closure.
This commit is contained in:
kgv
2019-11-22 17:02:12 +03:00
committed by bugmaster
parent caee80f39f
commit 8c2d331426
97 changed files with 123 additions and 119 deletions

View File

@@ -232,7 +232,7 @@ TCollection_AsciiString Expr_Sum::String() const
if (op->NbSubExpressions() > 1) {
str = "(";
str += op->String();
str += ")";;
str += ")";
}
else {
str = op->String();
@@ -243,7 +243,7 @@ TCollection_AsciiString Expr_Sum::String() const
if (op->NbSubExpressions() > 1) {
str += "(";
str += op->String();
str += ")";;
str += ")";
}
else {
str += op->String();

View File

@@ -125,6 +125,6 @@ TCollection_AsciiString Expr_UnaryFunction::String() const
TCollection_AsciiString res = myFunction->GetStringName();
res += "(";
res += Operand()->String();
res += ")";;
res += ")";
return res;
}