X-Git-Url: https://git.ralfj.de/gltest.git/blobdiff_plain/867982470c8f197aaa6364da1c52d530a2023dec..c4859cf18f397a5fda57e5719134dddbcb23ef2a:/eglinfo.c?ds=inline diff --git a/eglinfo.c b/eglinfo.c index a0afc08..4a959f1 100644 --- a/eglinfo.c +++ b/eglinfo.c @@ -102,7 +102,7 @@ PrintConfigs(EGLDisplay d) /** - * Print table of all available configurations. + * If possible, irint table of all available configurations. */ static void PrintModes(EGLDisplay d) @@ -137,13 +137,15 @@ PrintModes(EGLDisplay d) } } } +#else + (void)d; /* mark d as unused */ #endif } int -main(int argc, char *argv[]) +main(void) { int maj, min; EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);