Removing two unused variables so this will compile on Linux with -Wall
authorJohn F. Fay <johnffay@nettally.com>
Fri, 13 May 2005 12:54:38 +0000 (12:54 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Fri, 13 May 2005 12:54:38 +0000 (12:54 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@608 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_menu.c

index 871c1ba..05fd2bd 100644 (file)
@@ -110,7 +110,6 @@ static SFG_MenuEntry *fghFindMenuEntry( SFG_Menu* menu, int index )
  */
 static void fghDeactivateSubMenu( SFG_MenuEntry *menuEntry )
 {
-    SFG_Window *current_window = fgStructure.CurrentWindow;
     SFG_MenuEntry *subMenuIter;
     /* Hide the present menu's window */
     fgSetWindow( menuEntry->SubMenu->Window );
@@ -675,7 +674,6 @@ GLboolean fgCheckActiveMenu ( SFG_Window *window, int button, GLboolean pressed,
  */
 void fgDeactivateMenu( SFG_Window *window )
 {
-    SFG_Window *current_window = fgStructure.CurrentWindow;
     SFG_Window *parent_window = NULL;
 
     /* Check if there is an active menu attached to this window... */