0031007: Coding - eliminate warnings issued while compiling with -pedantic flag
[occt.git] / src / Draw / Draw_Viewer.cxx
index 62ccf4f..34fac0d 100644 (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);