Commit 1f3b3d68 authored by Dick Hollenbeck's avatar Dick Hollenbeck

fix some compiler warnings

parent fb57b54b
...@@ -758,6 +758,8 @@ bool GERBER_IMAGE::ExecuteRS274XCommand( int command, ...@@ -758,6 +758,8 @@ bool GERBER_IMAGE::ExecuteRS274XCommand( int command,
break; break;
} }
(void) seq_len; // quiet g++, or delete the unused variable.
ok = GetEndOfBlock( buff, text, m_Current_File ); ok = GetEndOfBlock( buff, text, m_Current_File );
return ok; return ok;
...@@ -788,6 +790,7 @@ bool GetEndOfBlock( char buff[GERBER_BUFZ], char*& text, FILE* gerber_file ) ...@@ -788,6 +790,7 @@ bool GetEndOfBlock( char buff[GERBER_BUFZ], char*& text, FILE* gerber_file )
return false; return false;
} }
/** /**
* Function GetNextLine * Function GetNextLine
* test for an end of line * test for an end of line
......
...@@ -320,8 +320,7 @@ void DRAWSEGMENT::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList ) ...@@ -320,8 +320,7 @@ void DRAWSEGMENT::GetMsgPanelInfo( std::vector< MSG_PANEL_ITEM >& aList )
wxString msg; wxString msg;
wxString coords; wxString coords;
BOARD* board = (BOARD*) m_Parent; wxASSERT( m_Parent );
wxASSERT( board );
msg = wxT( "DRAWING" ); msg = wxT( "DRAWING" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment