Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2010-11-19 11:20:46 +01:00
parent dc26ec8b37
commit 3a15f0c09c

View file

@ -3134,7 +3134,7 @@ class CHandlerGameConfigFullscreen : public IActionHandler
virtual void execute (CCtrlBase *pCaller, const string &/* Params */)
{
CInterfaceManager *pIM = CInterfaceManager::getInstance();
bool bFullscreen;
bool bFullscreen = false;
{
CCtrlBaseButton *pBut = dynamic_cast<CCtrlBaseButton*>(pIM->getElementFromId( GAME_CONFIG_VIDEO_FULLSCREEN_BUTTON ));
if (pBut) bFullscreen = pBut->getPushed();