Merge pull request #375 from Pan7/fixmain

Fix gcc warning item may be used uninitialized in this function
This commit is contained in:
Timothee "TTimo" Besset 2017-01-01 08:35:27 -06:00 committed by GitHub
commit 0977acea07

View file

@ -7172,6 +7172,7 @@ void MainFrame::OnGridPrev(){
case 64: item = GTK_WIDGET( g_object_get_data( G_OBJECT( m_pWidget ), "menu_grid_64" ) ); break;
case 128: item = GTK_WIDGET( g_object_get_data( G_OBJECT( m_pWidget ), "menu_grid_128" ) ); break;
case 256: item = GTK_WIDGET( g_object_get_data( G_OBJECT( m_pWidget ), "menu_grid_256" ) ); break;
default: return;
}
}