Removing two unused variables so this will compile on Linux with -Wall

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@608 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2005-05-13 12:54:38 +00:00
parent 413f5c131e
commit 0f8a824bc7

View File

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