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:
@@ -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();
|
||||
|
@@ -125,6 +125,6 @@ TCollection_AsciiString Expr_UnaryFunction::String() const
|
||||
TCollection_AsciiString res = myFunction->GetStringName();
|
||||
res += "(";
|
||||
res += Operand()->String();
|
||||
res += ")";;
|
||||
res += ")";
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user