diff src/video/x11/SDL_x11wm.c @ 1849:b5a4ac87b98c

Fixed uninitialized variable warnings
author Sam Lantinga <slouken@libsdl.org>
date Wed, 17 May 2006 15:08:46 +0000
parents ae9f6be81810
children c121d94672cb be84332e761e
line wrap: on
line diff
--- a/src/video/x11/SDL_x11wm.c	Wed May 17 07:38:34 2006 +0000
+++ b/src/video/x11/SDL_x11wm.c	Wed May 17 15:08:46 2006 +0000
@@ -246,8 +246,8 @@
 	Status status;
 
 #ifdef X_HAVE_UTF8_STRING
-	Atom _NET_WM_NAME;
-	Atom _NET_WM_ICON_NAME;
+	Atom _NET_WM_NAME = 0;
+	Atom _NET_WM_ICON_NAME = 0;
 
 	/* Look up some useful Atoms */
 	if (SDL_X11_HAVE_UTF8) {