~xzcvczx/kicad/page-settings_datetime

« back to all changes in this revision

Viewing changes to eeschema/sch_sheet_path.cpp

  • Committer: jean-pierre charras
  • Date: 2015-12-27 12:16:46 UTC
  • Revision ID: jp.charras@wanadoo.fr-20151227121646-wxh3rgnhvkccmpmk
Fix some warnings (looking like potential bugs) detected by cppcheck, (a few from a patch from Julien Nabet <serval2412@yahoo.fr>), remove not used vars and a few coding style fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
882
882
 
883
883
    for( int i = 0; i < m_count; i++ )
884
884
    {
885
 
        sheet = m_list[i].FindSheetByName( aSheetName );
 
885
        SCH_SHEET* sheet = m_list[i].FindSheetByName( aSheetName );
886
886
 
887
887
        if( sheet )
888
888
            return sheet;