From: Kristian Høgsberg Date: Tue, 6 Nov 2007 16:56:24 +0000 (-0500) Subject: Don't return 0 in a void function. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=866d271aa848d33dfded4989c48ba46108d6cceb;p=mesa.git Don't return 0 in a void function. --- 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