projects
/
gltest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use -Wextra and fix the warnings it caused
[gltest.git]
/
eglinfo.c
diff --git
a/eglinfo.c
b/eglinfo.c
index a0afc08b90e51f289dfff5a5a6df7d11fb247fca..4a959f1798a630fe95d328a5f698248080678876 100644
(file)
--- a/
eglinfo.c
+++ b/
eglinfo.c
@@
-102,7
+102,7
@@
PrintConfigs(EGLDisplay d)
/**
/**
- *
P
rint table of all available configurations.
+ *
If possible, i
rint table of all available configurations.
*/
static void
PrintModes(EGLDisplay d)
*/
static void
PrintModes(EGLDisplay d)
@@
-137,13
+137,15
@@
PrintModes(EGLDisplay d)
}
}
}
}
}
}
+#else
+ (void)d; /* mark d as unused */
#endif
}
int
#endif
}
int
-main(
int argc, char *argv[]
)
+main(
void
)
{
int maj, min;
EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
{
int maj, min;
EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);