projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing two unused variables so this will compile on Linux with -Wall
[freeglut]
/
src
/
freeglut_menu.c
diff --git
a/src/freeglut_menu.c
b/src/freeglut_menu.c
index
871c1ba
..
05fd2bd
100644
(file)
--- a/
src/freeglut_menu.c
+++ b/
src/freeglut_menu.c
@@
-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;
/* Hide the present menu's window */
fgSetWindow( menuEntry->SubMenu->Window );
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 )
{
*/
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... */
SFG_Window *parent_window = NULL;
/* Check if there is an active menu attached to this window... */