← Back to team overview

kicad-developers team mailing list archive

[PATCH 09/12] Remove some extra semicolons

 

---
 3d-viewer/3d_cache/dialogs/3d_cache_dialogs.h   |  2 +-
 3d-viewer/3d_cache/sg/sg_helpers.cpp            |  2 +-
 3d-viewer/3d_cache/sg/sg_helpers.h              |  2 +-
 3d-viewer/3d_cache/sg/sg_node.h                 |  2 +-
 3d-viewer/3d_cache/str_rsort.h                  |  2 +-
 3d-viewer/3d_canvas/eda_3d_canvas.h             |  2 +-
 3d-viewer/3d_model_viewer/c3d_model_viewer.h    |  2 +-
 3d-viewer/3d_viewer/eda_3d_viewer.h             |  2 +-
 common/bitmap.cpp                               |  4 ++--
 common/eagle_parser.cpp                         |  4 ++--
 common/single_top.cpp                           |  2 +-
 common/view/view.cpp                            |  2 +-
 common/widgets/mathplot.cpp                     |  6 +++---
 eeschema/dialogs/dialog_bom.cpp                 |  2 +-
 eeschema/pin_shape.cpp                          |  2 +-
 eeschema/plot_schematic_HPGL.cpp                |  2 +-
 eeschema/sch_io_mgr.cpp                         |  2 +-
 eeschema/sch_io_mgr.h                           |  2 +-
 gerbview/class_gerber_draw_item.h               |  2 +-
 include/class_draw_panel_gal.h                  |  2 +-
 include/geometry/rtree.h                        |  2 +-
 include/plugins/3dapi/ifsg_api.h                |  2 +-
 include/plugins/3dapi/sg_types.h                |  2 +-
 include/system/libcontext.h                     |  4 ++--
 include/tool/tool_base.h                        |  2 +-
 include/tool/tool_dispatcher.h                  |  2 +-
 include/ttl/halfedge/hetraits.h                 |  2 +-
 include/ttl/halfedge/hetriang.h                 |  4 ++--
 kicad/kicad.cpp                                 |  2 +-
 pcb_calculator/UnitSelector.cpp                 | 10 +++++-----
 pcbnew/class_drawsegment.cpp                    |  2 +-
 pcbnew/class_module.h                           |  2 +-
 pcbnew/class_netclass.h                         |  2 +-
 pcbnew/class_pad.h                              |  2 +-
 pcbnew/class_zone.cpp                           |  2 +-
 pcbnew/class_zone_settings.cpp                  |  2 +-
 pcbnew/dialogs/dialog_footprint_wizard_list.cpp |  6 +++---
 pcbnew/exporters/export_gencad.cpp              |  4 ++--
 pcbnew/exporters/export_vrml.cpp                |  2 +-
 pcbnew/moduleframe.cpp                          |  2 +-
 pcbnew/router/pns_kicad_iface.h                 |  2 +-
 pcbnew/router/pns_router.h                      |  2 +-
 pcbnew/tools/tool_event_utils.h                 |  2 +-
 pcbnew/tools/zone_create_helper.cpp             |  2 +-
 plugins/3d/idf/s3d_plugin_idf.cpp               |  2 +-
 plugins/3d/vrml/wrlfacet.cpp                    |  2 +-
 plugins/3d/vrml/x3d/x3d_ops.h                   |  2 +-
 polygon/clipper.cpp                             |  2 +-
 48 files changed, 61 insertions(+), 61 deletions(-)

diff --git a/3d-viewer/3d_cache/dialogs/3d_cache_dialogs.h b/3d-viewer/3d_cache/dialogs/3d_cache_dialogs.h
index 02cfaa71e..317efd49d 100644
--- a/3d-viewer/3d_cache/dialogs/3d_cache_dialogs.h
+++ b/3d-viewer/3d_cache/dialogs/3d_cache_dialogs.h
@@ -36,6 +36,6 @@ namespace S3D
         wxString& prevModelSelectDir, int& prevModelWildcard, S3D_INFO* aModel );
 
     bool Configure3DPaths( wxWindow* aParent, S3D_FILENAME_RESOLVER* aResolver );
-};
+}
 
 #endif  // CACHE_DIALOGS_3D_H
diff --git a/3d-viewer/3d_cache/sg/sg_helpers.cpp b/3d-viewer/3d_cache/sg/sg_helpers.cpp
index e2b380943..fec16bfef 100644
--- a/3d-viewer/3d_cache/sg/sg_helpers.cpp
+++ b/3d-viewer/3d_cache/sg/sg_helpers.cpp
@@ -362,7 +362,7 @@ bool S3D::degenerate( glm::dvec3* pts )
         return true;
 
     return false;
-};
+}
 
 
 static void calcTriad( glm::dvec3* pts, glm::dvec3& tri )
diff --git a/3d-viewer/3d_cache/sg/sg_helpers.h b/3d-viewer/3d_cache/sg/sg_helpers.h
index a2f024139..34de4eb1b 100644
--- a/3d-viewer/3d_cache/sg/sg_helpers.h
+++ b/3d-viewer/3d_cache/sg/sg_helpers.h
@@ -242,6 +242,6 @@ namespace S3D
 
     // read an RGB color
     bool ReadColor( std::istream& aFile, SGCOLOR& aColor );
-};
+}
 
 #endif  // SG_HELPERS_H
diff --git a/3d-viewer/3d_cache/sg/sg_node.h b/3d-viewer/3d_cache/sg/sg_node.h
index fc6e646f2..575a1aad0 100644
--- a/3d-viewer/3d_cache/sg/sg_node.h
+++ b/3d-viewer/3d_cache/sg/sg_node.h
@@ -66,7 +66,7 @@ namespace S3D
 
     void FREE_SMESH( SMESH& aMesh);
     void FREE_S3DMODEL( S3DMODEL& aModel );
-};
+}
 
 
 /**
diff --git a/3d-viewer/3d_cache/str_rsort.h b/3d-viewer/3d_cache/str_rsort.h
index 13c00e05f..35044c6d7 100644
--- a/3d-viewer/3d_cache/str_rsort.h
+++ b/3d-viewer/3d_cache/str_rsort.h
@@ -82,6 +82,6 @@ namespace S3D
         }
     };
 
-};  // end NAMESPACE
+} // end NAMESPACE
 
 #endif  // STR_RSORT_H
diff --git a/3d-viewer/3d_canvas/eda_3d_canvas.h b/3d-viewer/3d_canvas/eda_3d_canvas.h
index 6b20a2b29..e0d601a61 100644
--- a/3d-viewer/3d_canvas/eda_3d_canvas.h
+++ b/3d-viewer/3d_canvas/eda_3d_canvas.h
@@ -161,7 +161,7 @@ class EDA_3D_CANVAS : public wxGLCanvas
 
     void OnTimerTimeout_Redraw( wxTimerEvent& event );
 
-    DECLARE_EVENT_TABLE();
+    DECLARE_EVENT_TABLE()
 
  private:
 
diff --git a/3d-viewer/3d_model_viewer/c3d_model_viewer.h b/3d-viewer/3d_model_viewer/c3d_model_viewer.h
index 3c2e839e0..2e8e3b8f2 100644
--- a/3d-viewer/3d_model_viewer/c3d_model_viewer.h
+++ b/3d-viewer/3d_model_viewer/c3d_model_viewer.h
@@ -105,7 +105,7 @@ private:
 
     void OnRightClick( wxMouseEvent &event );
 
-    DECLARE_EVENT_TABLE();
+    DECLARE_EVENT_TABLE()
 
 
 private:
diff --git a/3d-viewer/3d_viewer/eda_3d_viewer.h b/3d-viewer/3d_viewer/eda_3d_viewer.h
index d620a4658..f878029cc 100644
--- a/3d-viewer/3d_viewer/eda_3d_viewer.h
+++ b/3d-viewer/3d_viewer/eda_3d_viewer.h
@@ -222,7 +222,7 @@ class EDA_3D_VIEWER : public KIWAY_PLAYER
      */
     void RenderEngineChanged();
 
-    DECLARE_EVENT_TABLE();
+    DECLARE_EVENT_TABLE()
 
  private:
 
diff --git a/common/bitmap.cpp b/common/bitmap.cpp
index d9741ec2e..d0af48c7c 100644
--- a/common/bitmap.cpp
+++ b/common/bitmap.cpp
@@ -132,7 +132,7 @@ wxMenuItem* AddMenuItem( wxMenu* aMenu, wxMenu* aSubMenu, int aId,
     aMenu->Append( item );
 
     return item;
-};
+}
 
 
 wxMenuItem* AddMenuItem( wxMenu* aMenu, wxMenu* aSubMenu, int aId,
@@ -153,4 +153,4 @@ wxMenuItem* AddMenuItem( wxMenu* aMenu, wxMenu* aSubMenu, int aId,
     aMenu->Append( item );
 
     return item;
-};
+}
diff --git a/common/eagle_parser.cpp b/common/eagle_parser.cpp
index dd2d10d1e..c0d2ee94c 100644
--- a/common/eagle_parser.cpp
+++ b/common/eagle_parser.cpp
@@ -934,7 +934,7 @@ ECONNECT::ECONNECT( wxXmlNode* aConnect )
     gate =  parseRequiredAttribute<string>( aConnect, "gate" );
     pin =  parseRequiredAttribute<string>( aConnect, "pin" );
     pad = parseRequiredAttribute<string>( aConnect, "pad" );
-};
+}
 
 
 EDEVICE::EDEVICE( wxXmlNode* aDevice )
@@ -957,7 +957,7 @@ EDEVICE::EDEVICE( wxXmlNode* aDevice )
         connectNode = connectNode->GetNext();
     }
 
-};
+}
 
 
 EDEVICE_SET::EDEVICE_SET( wxXmlNode* aDeviceSet )
diff --git a/common/single_top.cpp b/common/single_top.cpp
index 4370829f0..a1f41ec25 100644
--- a/common/single_top.cpp
+++ b/common/single_top.cpp
@@ -202,7 +202,7 @@ struct APP_SINGLE_TOP : public wxApp
 #endif
 };
 
-IMPLEMENT_APP( APP_SINGLE_TOP );
+IMPLEMENT_APP( APP_SINGLE_TOP )
 
 
 bool PGM_SINGLE_TOP::OnPgmInit()
diff --git a/common/view/view.cpp b/common/view/view.cpp
index a971129e5..567e93da4 100644
--- a/common/view/view.cpp
+++ b/common/view/view.cpp
@@ -1397,4 +1397,4 @@ void VIEW::Update( VIEW_ITEM* aItem, int aUpdateFlags )
 
 const int VIEW::TOP_LAYER_MODIFIER = -VIEW_MAX_LAYERS;
 
-};
+}
diff --git a/common/widgets/mathplot.cpp b/common/widgets/mathplot.cpp
index 6ad1057e1..e696a2364 100644
--- a/common/widgets/mathplot.cpp
+++ b/common/widgets/mathplot.cpp
@@ -1288,13 +1288,13 @@ mpScaleXBase::mpScaleXBase( wxString name, int flags, bool ticks, unsigned int t
 mpScaleX::mpScaleX( wxString name, int flags, bool ticks, unsigned int type ) :
     mpScaleXBase( name, flags, ticks, type )
 {
-};
+}
 
 
 mpScaleXLog::mpScaleXLog( wxString name, int flags, bool ticks, unsigned int type ) :
     mpScaleXBase( name, flags, ticks, type )
 {
-};
+}
 
 
 void mpScaleXBase::Plot( wxDC& dc, mpWindow& w )
@@ -2701,7 +2701,7 @@ void mpWindow::SetMPScrollbars( bool status )
     ////         SetVirtualSize((int) (m_maxX - m_minX), (int) (m_maxY - m_minY));
     // }
     // Refresh(false);*/
-};
+}
 
 bool mpWindow::UpdateBBox()
 {
diff --git a/eeschema/dialogs/dialog_bom.cpp b/eeschema/dialogs/dialog_bom.cpp
index 51cc37c22..934e4bf49 100644
--- a/eeschema/dialogs/dialog_bom.cpp
+++ b/eeschema/dialogs/dialog_bom.cpp
@@ -72,7 +72,7 @@ struct BOM_PLUGIN
  */
 WX_DECLARE_OBJARRAY( BOM_PLUGIN, BOM_PLUGIN_ARRAY );
 #include <wx/arrimpl.cpp>
-WX_DEFINE_OBJARRAY( BOM_PLUGIN_ARRAY );
+WX_DEFINE_OBJARRAY( BOM_PLUGIN_ARRAY )
 
 /**
  * Class BOM_CFG_READER_PARSER
diff --git a/eeschema/pin_shape.cpp b/eeschema/pin_shape.cpp
index f59dbb424..4cfe64b2d 100644
--- a/eeschema/pin_shape.cpp
+++ b/eeschema/pin_shape.cpp
@@ -101,4 +101,4 @@ BITMAP_DEF GetBitmap( GRAPHIC_PINSHAPE shape )
 
     assert( !"Invalid pin shape" );
     return 0;
-};
+}
diff --git a/eeschema/plot_schematic_HPGL.cpp b/eeschema/plot_schematic_HPGL.cpp
index 0c1846ef3..4cad99307 100644
--- a/eeschema/plot_schematic_HPGL.cpp
+++ b/eeschema/plot_schematic_HPGL.cpp
@@ -93,7 +93,7 @@ static const wxChar* plot_sheet_list( int aSize )
     }
 
     return ret;
-};
+}
 
 
 void DIALOG_PLOT_SCHEMATIC::SetHPGLPenWidth()
diff --git a/eeschema/sch_io_mgr.cpp b/eeschema/sch_io_mgr.cpp
index 7a8d9e1b4..9259147f7 100644
--- a/eeschema/sch_io_mgr.cpp
+++ b/eeschema/sch_io_mgr.cpp
@@ -172,4 +172,4 @@ void SCH_IO_MGR::Save( SCH_FILE_T aFileType, const wxString& aFileName,
 }
 
 
-DECLARE_ENUM_VECTOR( SCH_IO_MGR, SCH_FILE_T );
+DECLARE_ENUM_VECTOR( SCH_IO_MGR, SCH_FILE_T )
diff --git a/eeschema/sch_io_mgr.h b/eeschema/sch_io_mgr.h
index eb3f5b83d..8818edf29 100644
--- a/eeschema/sch_io_mgr.h
+++ b/eeschema/sch_io_mgr.h
@@ -60,7 +60,7 @@ public:
 
         // ALTIUM,
         // etc.
-    } );
+    } )
 
     /**
      * Return a #SCH_PLUGIN which the caller can use to import, export, save, or load
diff --git a/gerbview/class_gerber_draw_item.h b/gerbview/class_gerber_draw_item.h
index a272392e3..6c9fa5aeb 100644
--- a/gerbview/class_gerber_draw_item.h
+++ b/gerbview/class_gerber_draw_item.h
@@ -46,7 +46,7 @@ class GBR_DISPLAY_OPTIONS;
 namespace KIGFX
 {
     class VIEW;
-};
+}
 
 
 /* Shapes id for basic shapes ( .m_Shape member ) */
diff --git a/include/class_draw_panel_gal.h b/include/class_draw_panel_gal.h
index b12c4b382..ea0496306 100644
--- a/include/class_draw_panel_gal.h
+++ b/include/class_draw_panel_gal.h
@@ -49,7 +49,7 @@ class WX_VIEW_CONTROLS;
 class VIEW_CONTROLS;
 class PAINTER;
 class GAL_DISPLAY_OPTIONS;
-};
+}
 
 
 class EDA_DRAW_PANEL_GAL : public wxScrolledCanvas
diff --git a/include/geometry/rtree.h b/include/geometry/rtree.h
index 1710d5aea..8334b7734 100644
--- a/include/geometry/rtree.h
+++ b/include/geometry/rtree.h
@@ -822,7 +822,7 @@ bool RTREE_QUAL::Load( const char* a_fileName )
     stream.Close();
 
     return result;
-};
+}
 
 
 RTREE_TEMPLATE
diff --git a/include/plugins/3dapi/ifsg_api.h b/include/plugins/3dapi/ifsg_api.h
index 7779528e5..54e833fcf 100644
--- a/include/plugins/3dapi/ifsg_api.h
+++ b/include/plugins/3dapi/ifsg_api.h
@@ -194,6 +194,6 @@ namespace S3D
      * creates and initializes an SMESH struct
      */
     SGLIB_API void Init3DMesh( SMESH& aMesh );
-};
+}
 
 #endif  // IFSG_API_H
diff --git a/include/plugins/3dapi/sg_types.h b/include/plugins/3dapi/sg_types.h
index db4cadfc3..f85cef3a4 100644
--- a/include/plugins/3dapi/sg_types.h
+++ b/include/plugins/3dapi/sg_types.h
@@ -44,6 +44,6 @@ namespace S3D
         SGTYPE_SHAPE,
         SGTYPE_END
     };
-};
+}
 
 #endif  // SG_TYPES_H
diff --git a/include/system/libcontext.h b/include/system/libcontext.h
index 336787bec..e274e4315 100644
--- a/include/system/libcontext.h
+++ b/include/system/libcontext.h
@@ -85,11 +85,11 @@ fcontext_t LIBCONTEXT_CALL_CONVENTION make_fcontext( void* sp, size_t size,
         void (* fn)( intptr_t ) );
 
 #ifdef __cplusplus
-};    // namespace
+}    // namespace
 #endif
 
 #ifdef __cplusplus
-};    // extern "C"
+}    // extern "C"
 #endif
 
 #endif
diff --git a/include/tool/tool_base.h b/include/tool/tool_base.h
index 167c51d45..0302c1585 100644
--- a/include/tool/tool_base.h
+++ b/include/tool/tool_base.h
@@ -42,7 +42,7 @@ namespace KIGFX
 {
 class VIEW;
 class VIEW_CONTROLS;
-};
+}
 
 enum TOOL_TYPE
 {
diff --git a/include/tool/tool_dispatcher.h b/include/tool/tool_dispatcher.h
index 6a47342a9..44a3c31af 100644
--- a/include/tool/tool_dispatcher.h
+++ b/include/tool/tool_dispatcher.h
@@ -36,7 +36,7 @@ class ACTIONS;
 namespace KIGFX
 {
 class VIEW;
-};
+}
 
 /**
  * Class TOOL_DISPATCHER
diff --git a/include/ttl/halfedge/hetraits.h b/include/ttl/halfedge/hetraits.h
index 04288a0ba..a186c405e 100644
--- a/include/ttl/halfedge/hetraits.h
+++ b/include/ttl/halfedge/hetraits.h
@@ -184,6 +184,6 @@ struct TTLtraits
     //@} // End of Geometric Predicates Group
 };
 
-}; // End of hed namespace
+} // End of hed namespace
 
 #endif
diff --git a/include/ttl/halfedge/hetriang.h b/include/ttl/halfedge/hetriang.h
index 03ba5f9bc..0d30b7ed2 100644
--- a/include/ttl/halfedge/hetriang.h
+++ b/include/ttl/halfedge/hetriang.h
@@ -61,7 +61,7 @@ class CN_CLUSTER;
 namespace ttl
 {
     class TRIANGULATION_HELPER;
-};
+}
 
 /**
  * The half-edge data structure
@@ -426,6 +426,6 @@ public:
 
     friend class ttl::TRIANGULATION_HELPER;
 };
-}; // End of hed namespace
+} // End of hed namespace
 
 #endif
diff --git a/kicad/kicad.cpp b/kicad/kicad.cpp
index 76ffcc9f6..c919519c5 100644
--- a/kicad/kicad.cpp
+++ b/kicad/kicad.cpp
@@ -262,7 +262,7 @@ struct APP_KICAD : public wxApp
     }
 };
 
-IMPLEMENT_APP( APP_KICAD );
+IMPLEMENT_APP( APP_KICAD )
 
 
 // The C++ project manager supports one open PROJECT, so Prj() calls within
diff --git a/pcb_calculator/UnitSelector.cpp b/pcb_calculator/UnitSelector.cpp
index 06b376862..913fce121 100644
--- a/pcb_calculator/UnitSelector.cpp
+++ b/pcb_calculator/UnitSelector.cpp
@@ -40,7 +40,7 @@ UNIT_SELECTOR_LEN::UNIT_SELECTOR_LEN( wxWindow *parent, wxWindowID id,
     Append( _( "cm" ) );
     Append( _( "mil" ) );
     Append( _( "inch" ) );
-};
+}
 
 
 /*
@@ -73,7 +73,7 @@ UNIT_SELECTOR_THICKNESS::UNIT_SELECTOR_THICKNESS( wxWindow *parent, wxWindowID i
     Append( _( "mil" ) );
     Append( _( "inch" ) );
     Append( _( "oz/ft^2" ) );
-};
+}
 
 
 /*
@@ -105,7 +105,7 @@ UNIT_SELECTOR_FREQUENCY::UNIT_SELECTOR_FREQUENCY( wxWindow *parent, wxWindowID i
     Append( _( "MHz" ) );
     Append( _( "KHz" ) );
     Append( _( "Hz" ) );
-};
+}
 
 /*
  * Function GetUnitScale
@@ -132,7 +132,7 @@ UNIT_SELECTOR_ANGLE::UNIT_SELECTOR_ANGLE( wxWindow *parent, wxWindowID id,
 {
     Append( _( "Radian" ) );
     Append( _( "Degree" ) );
-};
+}
 
 /*
  * Function GetUnitScale
@@ -157,7 +157,7 @@ UNIT_SELECTOR_RESISTOR::UNIT_SELECTOR_RESISTOR( wxWindow *parent, wxWindowID id,
 {
     Append( _( "Ohm" ) );
     Append( _( "KOhm" ) );
-};
+}
 
 
 /*
diff --git a/pcbnew/class_drawsegment.cpp b/pcbnew/class_drawsegment.cpp
index d3fbdbf86..d368241d2 100644
--- a/pcbnew/class_drawsegment.cpp
+++ b/pcbnew/class_drawsegment.cpp
@@ -102,7 +102,7 @@ void DRAWSEGMENT::Rotate( const wxPoint& aRotCentre, double aAngle )
                 + ShowShape( m_Shape ) ) );
         break;
     }
-};
+}
 
 void DRAWSEGMENT::Flip( const wxPoint& aCentre )
 {
diff --git a/pcbnew/class_module.h b/pcbnew/class_module.h
index 79431d458..da8d3660a 100644
--- a/pcbnew/class_module.h
+++ b/pcbnew/class_module.h
@@ -57,7 +57,7 @@ class MSG_PANEL_ITEM;
 
 namespace KIGFX {
 class VIEW;
-};
+}
 
 enum INCLUDE_NPTH_T
 {
diff --git a/pcbnew/class_netclass.h b/pcbnew/class_netclass.h
index 7d35bd13b..f6ebaddf5 100644
--- a/pcbnew/class_netclass.h
+++ b/pcbnew/class_netclass.h
@@ -219,7 +219,7 @@ public:
 
 
 DECL_SPTR_FOR_SWIG( NETCLASSPTR, NETCLASS )
-DECL_MAP_FOR_SWIG( NETCLASS_MAP, wxString, NETCLASSPTR );
+DECL_MAP_FOR_SWIG( NETCLASS_MAP, wxString, NETCLASSPTR )
 
 
 /**
diff --git a/pcbnew/class_pad.h b/pcbnew/class_pad.h
index ed0ffee6a..7b66da48c 100644
--- a/pcbnew/class_pad.h
+++ b/pcbnew/class_pad.h
@@ -57,7 +57,7 @@ class MSG_PANEL_INFO;
 namespace KIGFX
 {
     class VIEW;
-};
+}
 
 // Helper class to store parameters used to draw a pad
 class PAD_DRAWINFO
diff --git a/pcbnew/class_zone.cpp b/pcbnew/class_zone.cpp
index 6029d937e..0073fbba3 100644
--- a/pcbnew/class_zone.cpp
+++ b/pcbnew/class_zone.cpp
@@ -655,7 +655,7 @@ void ZONE_CONTAINER::SetCornerRadius( unsigned int aRadius )
     m_cornerRadius = aRadius;
     if( m_cornerRadius > (unsigned int) Mils2iu( MAX_ZONE_CORNER_RADIUS_MILS ) )
         m_cornerRadius = Mils2iu( MAX_ZONE_CORNER_RADIUS_MILS );
-};
+}
 
 
 bool ZONE_CONTAINER::HitTest( const wxPoint& aPosition ) const
diff --git a/pcbnew/class_zone_settings.cpp b/pcbnew/class_zone_settings.cpp
index d9a3f6bba..b55efa66b 100644
--- a/pcbnew/class_zone_settings.cpp
+++ b/pcbnew/class_zone_settings.cpp
@@ -142,4 +142,4 @@ void ZONE_SETTINGS::SetCornerRadius( int aRadius )
         m_cornerRadius = 0;
     else
         m_cornerRadius = aRadius;
-};
+}
diff --git a/pcbnew/dialogs/dialog_footprint_wizard_list.cpp b/pcbnew/dialogs/dialog_footprint_wizard_list.cpp
index 1e32a827d..ab0bf3be7 100644
--- a/pcbnew/dialogs/dialog_footprint_wizard_list.cpp
+++ b/pcbnew/dialogs/dialog_footprint_wizard_list.cpp
@@ -39,9 +39,9 @@
 #include <python_scripting.h>
 #else
 // Dummy functions, actually defined in python_scripting.h when KICAD_SCRIPTING is enabled
-static void pcbnewGetWizardsBackTrace( wxString& aText ) {};
-static void pcbnewGetScriptsSearchPaths( wxString& aText ) {};
-static void pcbnewGetUnloadableScriptNames( wxString& aText ) {};
+static void pcbnewGetWizardsBackTrace( wxString& aText ) {}
+static void pcbnewGetScriptsSearchPaths( wxString& aText ) {}
+static void pcbnewGetUnloadableScriptNames( wxString& aText ) {}
 #endif
 
 enum FPGeneratorRowNames
diff --git a/pcbnew/exporters/export_gencad.cpp b/pcbnew/exporters/export_gencad.cpp
index ac84c2055..aa8ebac35 100644
--- a/pcbnew/exporters/export_gencad.cpp
+++ b/pcbnew/exporters/export_gencad.cpp
@@ -156,7 +156,7 @@ static std::string GenCADLayerName( int aCuCount, PCB_LAYER_ID aId )
 
         return txt;
     }
-};
+}
 
 
 static const PCB_LAYER_ID gc_seq[] = {
@@ -204,7 +204,7 @@ static std::string GenCADLayerNameFlipped( int aCuCount, PCB_LAYER_ID aId )
     }
 
     return GenCADLayerName( aCuCount, aId );
-};
+}
 
 
 static wxString escapeString( const wxString& aString )
diff --git a/pcbnew/exporters/export_vrml.cpp b/pcbnew/exporters/export_vrml.cpp
index 3c0613d46..c18c93a4a 100644
--- a/pcbnew/exporters/export_vrml.cpp
+++ b/pcbnew/exporters/export_vrml.cpp
@@ -1618,7 +1618,7 @@ static SGNODE* getSGColor( VRML_COLOR_INDEX colorIdx )
     sgmaterial[colorIdx] = vcolor.GetRawPtr();
 
     return sgmaterial[colorIdx];
-};
+}
 
 
 static void create_vrml_plane( IFSG_TRANSFORM& PcbOutput, VRML_COLOR_INDEX colorID,
diff --git a/pcbnew/moduleframe.cpp b/pcbnew/moduleframe.cpp
index fa46873eb..7ff92d134 100644
--- a/pcbnew/moduleframe.cpp
+++ b/pcbnew/moduleframe.cpp
@@ -398,7 +398,7 @@ const wxString FOOTPRINT_EDIT_FRAME::getLibPath()
 const wxString FOOTPRINT_EDIT_FRAME::GetCurrentLib() const
 {
     return Prj().GetRString( PROJECT::PCB_LIB_NICKNAME );
-};
+}
 
 
 void FOOTPRINT_EDIT_FRAME::retainLastFootprint()
diff --git a/pcbnew/router/pns_kicad_iface.h b/pcbnew/router/pns_kicad_iface.h
index 361f57937..c9ac5eeaf 100644
--- a/pcbnew/router/pns_kicad_iface.h
+++ b/pcbnew/router/pns_kicad_iface.h
@@ -36,7 +36,7 @@ class DISPLAY_OPTIONS;
 namespace KIGFX
 {
     class VIEW;
-};
+}
 
 class PNS_KICAD_IFACE : public PNS::ROUTER_IFACE {
 public:
diff --git a/pcbnew/router/pns_router.h b/pcbnew/router/pns_router.h
index 2368ce837..51c7f773c 100644
--- a/pcbnew/router/pns_router.h
+++ b/pcbnew/router/pns_router.h
@@ -42,7 +42,7 @@ namespace KIGFX
 class VIEW;
 class VIEW_GROUP;
 
-};
+}
 
 namespace PNS {
 
diff --git a/pcbnew/tools/tool_event_utils.h b/pcbnew/tools/tool_event_utils.h
index d633d281e..c8331625c 100644
--- a/pcbnew/tools/tool_event_utils.h
+++ b/pcbnew/tools/tool_event_utils.h
@@ -72,6 +72,6 @@ namespace TOOL_EVT_UTILS
      */
     int GetEventRotationAngle( const PCB_BASE_EDIT_FRAME& aFrame,
                                const TOOL_EVENT& aEvt );
-};
+}
 
 #endif // TOOL_EVENT_UTILS_H
diff --git a/pcbnew/tools/zone_create_helper.cpp b/pcbnew/tools/zone_create_helper.cpp
index 131f2d30f..f72409032 100644
--- a/pcbnew/tools/zone_create_helper.cpp
+++ b/pcbnew/tools/zone_create_helper.cpp
@@ -181,7 +181,7 @@ void ZONE_CREATE_HELPER::commitZone( std::unique_ptr<ZONE_CONTAINER> aZone )
             break;
         }
     }
-};
+}
 
 
 bool ZONE_CREATE_HELPER::OnFirstPoint()
diff --git a/plugins/3d/idf/s3d_plugin_idf.cpp b/plugins/3d/idf/s3d_plugin_idf.cpp
index 39068ec3c..e45c1f3c4 100644
--- a/plugins/3d/idf/s3d_plugin_idf.cpp
+++ b/plugins/3d/idf/s3d_plugin_idf.cpp
@@ -169,7 +169,7 @@ static SGNODE* getColor( IFSG_SHAPE& shape, int colorIdx )
         cidx = 1;
 
     return material.GetRawPtr();
-};
+}
 
 
 const char* GetKicadPluginName( void )
diff --git a/plugins/3d/vrml/wrlfacet.cpp b/plugins/3d/vrml/wrlfacet.cpp
index f09d5637c..04c408017 100644
--- a/plugins/3d/vrml/wrlfacet.cpp
+++ b/plugins/3d/vrml/wrlfacet.cpp
@@ -62,7 +62,7 @@ static bool VDegenerate( glm::vec3* pts )
         return true;
 
     return false;
-};
+}
 
 
 static WRLVEC3F VCalcTriNorm( const WRLVEC3F& p1, const WRLVEC3F& p2, const WRLVEC3F& p3 )
diff --git a/plugins/3d/vrml/x3d/x3d_ops.h b/plugins/3d/vrml/x3d/x3d_ops.h
index b1d871285..e724613ea 100644
--- a/plugins/3d/vrml/x3d/x3d_ops.h
+++ b/plugins/3d/vrml/x3d/x3d_ops.h
@@ -48,7 +48,7 @@ namespace X3D
     bool ParseSFVec3( const wxString& aSource, WRLVEC3F& aResult );
     bool ParseSFRotation( const wxString& aSource, WRLROTATION& aResult );
 
-};
+}
 
 #endif  // X3D_OPS_H
 
diff --git a/polygon/clipper.cpp b/polygon/clipper.cpp
index a912f7cc4..448aff485 100644
--- a/polygon/clipper.cpp
+++ b/polygon/clipper.cpp
@@ -429,7 +429,7 @@ Int128 Int128Mul( long64 lhs, long64 rhs )
         tmp = -tmp;
 
     return tmp;
-};
+}
 #endif
 
 // ------------------------------------------------------------------------------
-- 
2.14.1



References