changeset 4130:a922394ae038 SDL-1.2

Fixed 1 out of 210 warnings. ;-)
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Dec 2007 06:12:50 +0000
parents e52772528c75
children 7c2589fb8d4d
files src/video/quartz/SDL_QuartzEvents.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;