Changed: #825 Remove all warnings when compiling Ryzom

This commit is contained in:
kervala 2010-11-19 11:20:46 +01:00
parent 06aa221db3
commit c9c9a24eb7

View file

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