diff src/video/quartz/SDL_QuartzVideo.m @ 347:1b89c9ca9246

Fixed build warning
author Sam Lantinga <slouken@libsdl.org>
date Sat, 13 Apr 2002 20:33:21 +0000
parents f25f666d609a
children f0e5198a1522
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m	Sat Apr 13 20:33:15 2002 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Sat Apr 13 20:33:21 2002 +0000
@@ -1208,7 +1208,7 @@
 
 static int    QZ_GL_GetAttribute   (_THIS, SDL_GLattr attrib, int* value) {
 
-    GLenum attr;
+    GLenum attr = 0;
 
     QZ_GL_MakeCurrent (this);