Fixed 1 out of 210 warnings. ;-) SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Mon, 31 Dec 2007 06:12:50 +0000
branchSDL-1.2
changeset 4130 a922394ae038
parent 4129 e52772528c75
child 4131 7c2589fb8d4d
Fixed 1 out of 210 warnings. ;-)
src/video/quartz/SDL_QuartzEvents.m
--- a/src/video/quartz/SDL_QuartzEvents.m	Mon Dec 31 03:09:42 2007 +0000
+++ b/src/video/quartz/SDL_QuartzEvents.m	Mon Dec 31 06:12:50 2007 +0000
@@ -254,7 +254,7 @@
 
 static void QZ_DoKey (_THIS, int state, NSEvent *event) {
 
-    NSString *chars;
+    NSString *chars = NULL;
     unsigned int i, numChars;
     SDL_keysym key;