summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_menu.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-11-10 17:23:02 +0000
committerBrian Paul <[email protected]>2000-11-10 17:23:02 +0000
commitdb6aa58267cad3f502f03ab80b9deb6b75320a91 (patch)
tree52d7cc352e2e7190b19b79ffdfb21c704b67dff1 /src/glut/glx/glut_menu.c
parent8e3366fda795797d92afb6877cd280cf96a6d4e7 (diff)
patched to silence compiler warnings (Martin Lindhe)
Diffstat (limited to 'src/glut/glx/glut_menu.c')
-rw-r--r--src/glut/glx/glut_menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glut/glx/glut_menu.c b/src/glut/glx/glut_menu.c
index 0c36d348f46..94ac5167b6d 100644
--- a/src/glut/glx/glut_menu.c
+++ b/src/glut/glx/glut_menu.c
@@ -103,8 +103,8 @@ ifSunCreator(void)
{
char *xvendor, *glvendor, *renderer;
int isSunCreator = 0; /* Until proven that it is. */
- int savedDisplayMode;
- char *savedDisplayString;
+ int savedDisplayMode = 0;
+ char *savedDisplayString = 0;
GLUTwindow *window;
#define VENDOR_SUN "Sun Microsystems"
@@ -158,7 +158,7 @@ menuVisualSetup(void)
Bool presumablyMesa;
int layer, nVisuals, i, dummy;
unsigned long *placeHolders = NULL;
- int numPlaceHolders;
+ int numPlaceHolders = 0;
Bool allocateHigh;
allocateHigh = ifSunCreator();