=== modified file 'common/geometry/shape_collisions.cpp'
--- common/geometry/shape_collisions.cpp	2014-05-14 09:45:01 +0000
+++ common/geometry/shape_collisions.cpp	2014-06-01 19:46:59 +0000
@@ -137,7 +137,6 @@
                             bool aNeedMTV, VECTOR2I& aMTV )
 {
     bool found = false;
-    VECTOR2I::extended_type clSq = (VECTOR2I::extended_type) aClearance * aClearance;
 
 
     for( int s = 0; s < aB.SegmentCount(); s++ )
@@ -319,10 +318,6 @@
 			break;
 	}
 
-	bool unsupported_collision = true;
-
-	assert( unsupported_collision == false );
-
 	return false;
 }
 

=== modified file 'common/geometry/shape_index.cpp'
--- common/geometry/shape_index.cpp	2013-10-14 18:40:36 +0000
+++ common/geometry/shape_index.cpp	2014-06-01 19:46:59 +0000
@@ -25,8 +25,3 @@
 
 #include <geometry/shape_index.h>
 
-template <>
-const SHAPE* shapeFunctor( SHAPE* aItem )
-{
-    return aItem;
-}

=== modified file 'common/pgm_base.cpp'
--- common/pgm_base.cpp	2014-05-05 08:51:31 +0000
+++ common/pgm_base.cpp	2014-06-01 19:46:59 +0000
@@ -58,7 +58,6 @@
 const wxChar PGM_BASE::workingDirKey[]  =  wxT( "WorkingDir" );     // public
 
 static const wxChar languageCfgKey[] =  wxT( "LanguageID" );
-static const wxChar kicadFpLibPath[] =  wxT( "KicadFootprintLibraryPath" );
 
 
 /**

=== modified file 'include/geometry/shape_index.h'
--- include/geometry/shape_index.h	2014-05-14 11:53:02 +0000
+++ include/geometry/shape_index.h	2014-06-01 19:46:59 +0000
@@ -48,12 +48,6 @@
 
 
 /**
- * shapeFunctor template function: specialization for T = SHAPE*
- */
-template <>
-const SHAPE* shapeFunctor( SHAPE* aItem );
-
-/**
  * boundingBox template method
  *
  * It is used by SHAPE_INDEX to get the bounding box of a generic T object.

=== modified file 'pcb_calculator/transline/c_microstrip.h'
--- pcb_calculator/transline/c_microstrip.h	2011-08-05 19:53:42 +0000
+++ pcb_calculator/transline/c_microstrip.h	2014-06-01 19:46:59 +0000
@@ -44,16 +44,12 @@
     double Z0_o_0;              /* static odd-mode impedance */
     double Z0e;                 /* even-mode impedance */
     double Z0o;                 /* odd-mode impedance */
-    double c_e;                 /* even-mode capacitance */
-    double c_o;                 /* odd-mode capacitance */
     double ang_l_e;             /* even-mode electrical length in angle */
     double ang_l_o;             /* odd-mode electrical length in angle */
     double er_eff_e;            /* even-mode effective dielectric constant */
     double er_eff_o;            /* odd-mode effective dielectric constant */
     double er_eff_e_0;          /* static even-mode effective dielectric constant */
     double er_eff_o_0;          /* static odd-mode effective dielectric constant */
-    double er_eff;              /* FIXME: dummy */
-    double w_eff;               /* Effective width of line */
     double atten_dielectric_e;  /* even-mode dielectric losses (dB) */
     double atten_cond_e;        /* even-mode conductors losses (dB) */
     double atten_dielectric_o;  /* odd-mode dielectric losses (dB) */

=== modified file 'pcb_calculator/transline/rectwaveguide.h'
--- pcb_calculator/transline/rectwaveguide.h	2011-08-05 19:53:42 +0000
+++ pcb_calculator/transline/rectwaveguide.h	2014-06-01 19:46:59 +0000
@@ -38,10 +38,8 @@
     double Z0EH;                /* characteristic impedance of field quantities*/
     double ang_l;               /* Electrical length in angle */
     double er_eff;              /* Effective dielectric constant */
-    double mur_eff;             /* Effective mag. permeability */
     double atten_dielectric;    /* Loss in dielectric (dB) */
     double atten_cond;          /* Loss in conductors (dB) */
-    double fc10;                /* Cutoff frequency for TE10 mode */
 
 public:
     void   analyze();

=== modified file 'pcbnew/dialogs/dialog_drc.h'
--- pcbnew/dialogs/dialog_drc.h	2012-12-10 19:08:09 +0000
+++ pcbnew/dialogs/dialog_drc.h	2014-06-01 19:46:59 +0000
@@ -121,7 +121,6 @@
 
     DRC*                m_tester;
     PCB_EDIT_FRAME*     m_Parent;
-    int                 m_UnconnectedCount;
 };
 
 #endif  // _DIALOG_DRC_H_

=== modified file 'pcbnew/dialogs/dialog_footprint_wizard_list.h'
--- pcbnew/dialogs/dialog_footprint_wizard_list.h	2013-08-05 13:43:15 +0000
+++ pcbnew/dialogs/dialog_footprint_wizard_list.h	2014-06-01 19:46:59 +0000
@@ -11,7 +11,6 @@
 class DIALOG_FOOTPRINT_WIZARD_LIST: public DIALOG_FOOTPRINT_WIZARD_LIST_BASE
 {
 private:
-    wxDialog * m_Parent;
     FOOTPRINT_WIZARD *m_FootprintWizard;
 
 public:

=== modified file 'pcbnew/gpcb_plugin.cpp'
--- pcbnew/gpcb_plugin.cpp	2014-05-18 15:16:59 +0000
+++ pcbnew/gpcb_plugin.cpp	2014-06-01 19:46:59 +0000
@@ -55,10 +55,7 @@
 static const wxString traceFootprintLibrary( wxT( "GedaPcbFootprintLib" ) );
 
 
-static const char delims[] = " \t\r\n";
-
-static bool inline isSpace( int c ) { return strchr( delims, c ) != 0; }
-
+#ifdef DEBUG
 static void inline traceParams( wxArrayString& aParams )
 {
     wxString tmp;
@@ -73,6 +70,7 @@
 
     wxLogTrace( traceFootprintLibrary, tmp );
 }
+#endif
 
 
 static inline long parseInt( const wxString& aValue )
@@ -113,7 +111,6 @@
 class GPCB_FPL_CACHE_ITEM
 {
     wxFileName         m_file_name; ///< The the full file name and path of the footprint to cache.
-    bool               m_writable;  ///< Writability status of the footprint file.
     wxDateTime         m_mod_time;  ///< The last file modified time stamp.
     std::auto_ptr<MODULE> m_module;
 

=== modified file 'pcbnew/kicad_plugin.cpp'
--- pcbnew/kicad_plugin.cpp	2014-05-26 06:21:25 +0000
+++ pcbnew/kicad_plugin.cpp	2014-06-01 19:46:59 +0000
@@ -84,7 +84,6 @@
 class FP_CACHE_ITEM
 {
     wxFileName              m_file_name; ///< The the full file name and path of the footprint to cache.
-    bool                    m_writable;  ///< Writability status of the footprint file.
     wxDateTime              m_mod_time;  ///< The last file modified time stamp.
     std::auto_ptr<MODULE>   m_module;
 

=== modified file 'pcbnew/router/pns_shove.cpp'
--- pcbnew/router/pns_shove.cpp	2014-05-16 11:37:31 +0000
+++ pcbnew/router/pns_shove.cpp	2014-06-01 19:46:59 +0000
@@ -560,7 +560,6 @@
 {
     int clearance = m_currentNode->GetClearance( aCurrent, aObstacleVia ) ;
     LINE_PAIR_VEC draggedLines;
-    VECTOR2I p0( aObstacleVia->Pos() );
     bool colLine = false, colVia = false;
     PNS_LINE *currentLine = NULL;
     VECTOR2I mtvLine, mtvVia, mtv, mtvSolid;

=== modified file 'pcbnew/router/pns_shove.h'
--- pcbnew/router/pns_shove.h	2014-05-16 11:37:31 +0000
+++ pcbnew/router/pns_shove.h	2014-06-01 19:46:59 +0000
@@ -126,8 +126,6 @@
 
     PNS_NODE*                   m_root;
     PNS_NODE*                   m_currentNode;
-    PNS_LINE*                   m_currentHead;
-    PNS_LINE*                   m_collidingLine;
     
     OPT_LINE                     m_newHead;
 

=== modified file 'pcbnew/router/router_tool.h'
--- pcbnew/router/router_tool.h	2014-05-16 11:37:31 +0000
+++ pcbnew/router/router_tool.h	2014-06-01 19:46:59 +0000
@@ -77,8 +77,6 @@
     PNS_ITEM* m_endItem;
     VECTOR2I m_endSnapPoint;
 
-    CONTEXT_MENU* m_menu;
-
     ///> Flag marking that the router's world needs syncing.
     bool m_needsSync;
 };

=== modified file 'pcbnew/sel_layer.cpp'
--- pcbnew/sel_layer.cpp	2013-10-28 20:34:06 +0000
+++ pcbnew/sel_layer.cpp	2014-06-01 19:46:59 +0000
@@ -252,7 +252,6 @@
                                         public DIALOG_COPPER_LAYER_PAIR_SELECTION_BASE
 {
 private:
-    BOARD* m_brd;
     LAYER_NUM m_frontLayer;
     LAYER_NUM m_backLayer;
     int m_leftRowSelected;

=== modified file 'utils/idftools/idf_outlines.cpp'
--- utils/idftools/idf_outlines.cpp	2014-06-01 16:55:53 +0000
+++ utils/idftools/idf_outlines.cpp	2014-06-01 19:46:59 +0000
@@ -1358,7 +1358,6 @@
 bool BOARD_OUTLINE::DelOutline( size_t aIndex )
 {
     std::list< IDF_OUTLINE* >::iterator itS = outlines.begin();
-    std::list< IDF_OUTLINE* >::iterator itE = outlines.end();
 
     if( outlines.empty() )
     {

