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

@@ -696,7 +696,10 @@ void Draw_Viewer::PostColor(const Standard_Integer icol,
Standard_Boolean Draw_Viewer::SaveView(const Standard_Integer id,
const char* filename)
{
if (Draw_Batch) return Standard_False;;
if (Draw_Batch)
{
return Standard_False;
}
Flush();
if (myViews[id]) {
return myViews[id]->Save(filename);

View File

@@ -2496,6 +2496,6 @@ void DrawWindow::SelectNoWait(HANDLE& hWnd, int& x, int& y, int& button)
Standard_Boolean DrawWindow::DefineColor (const Standard_Integer, const char*)
{
return Standard_True;
};
}
#endif