added glutGetProcAddress() and GLUT_FPS env var option
[mesa.git] / src / glut / glx / glut_gamemode.c
index 004f325a0618b8364300d16cdeb1cf0c5254c86e..729711d96b7efab4d3314c678dda67aa4b520d6b 100644 (file)
@@ -162,7 +162,7 @@ findMatch(DisplayMode * dmodes, int ndmodes,
 {
   DisplayMode *found;
   int *bestScore, *thisScore;
-  int i, j, numok, result, worse, better;
+  int i, j, numok, result = 0, worse, better;
 
   found = NULL;
   numok = 1;            /* "num" capability is indexed from 1,
@@ -386,7 +386,7 @@ static int
 parseCriteria(char *word, Criterion * criterion)
 {
   char *cstr, *vstr, *response;
-  int comparator, value;
+  int comparator, value = 0;
 
   cstr = strpbrk(word, "=><!~");
   if (cstr) {