From c9c9a24eb7665afedffd66abc807f56bba9acb24 Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 19 Nov 2010 11:20:46 +0100 Subject: [PATCH] Changed: #825 Remove all warnings when compiling Ryzom --- code/ryzom/client/src/interface_v3/action_handler_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/action_handler_game.cpp b/code/ryzom/client/src/interface_v3/action_handler_game.cpp index 36f289959..ab3facd0b 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_game.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_game.cpp @@ -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(pIM->getElementFromId( GAME_CONFIG_VIDEO_FULLSCREEN_BUTTON )); if (pBut) bFullscreen = pBut->getPushed();