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