nouveau: fill in condition info for instructions
[mesa.git] / src / glut / beos / beos_x11.cpp
index 20c75036d552caa4b9c94a43198d34c2a1c3e076..2d1bc655cbd61be671044c9254fc47995874ee68 100644 (file)
@@ -37,6 +37,8 @@ suitability of this software for any purpose.  It is provided "as is"
 without express or implied warranty.
 */
 
+#if 0  // Not used currently...
+
 /* 
  *Returns pointer to first char ins search which is also in what, else NULL.
  */
@@ -45,13 +47,16 @@ static char *strscan (char *search, char *what)
        int i, len = strlen (what);
        char c;
 
-       while ((c = *(search++)) != (int)NULL)
+       while ((c = *(search++))) {
                for (i = 0; i < len; i++)
                        if (c == what [i])
                                return (--search);
+       }
        return (NULL);
 }
 
+#endif
+
 /*
  *    XParseGeometry parses strings of the form
  *   "=<width>x<height>{+-}<xoffset>{+-}<yoffset>", where