From 866d271aa848d33dfded4989c48ba46108d6cceb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 6 Nov 2007 11:56:24 -0500 Subject: [PATCH] Don't return 0 in a void function. --- src/glx/x11/glxext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c index 3572a70a100..e65b7f2043f 100644 --- a/src/glx/x11/glxext.c +++ b/src/glx/x11/glxext.c @@ -643,9 +643,9 @@ filter_modes( __GLcontextModes ** server_modes, __GLcontextModes ** prev_next; const __GLcontextModes * check; - if ( driver_modes == NULL ) { + if (driver_modes == NULL) { fprintf(stderr, "libGL warning: 3D driver returned no fbconfigs.\n"); - return 0; + return; } /* For each mode in server_modes, check to see if a matching mode exists -- 2.30.2