comparison 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
comparison
equal deleted inserted replaced
1848:3c5eed71a332 1849:b5a4ac87b98c
244 { 244 {
245 XTextProperty titleprop, iconprop; 245 XTextProperty titleprop, iconprop;
246 Status status; 246 Status status;
247 247
248 #ifdef X_HAVE_UTF8_STRING 248 #ifdef X_HAVE_UTF8_STRING
249 Atom _NET_WM_NAME; 249 Atom _NET_WM_NAME = 0;
250 Atom _NET_WM_ICON_NAME; 250 Atom _NET_WM_ICON_NAME = 0;
251 251
252 /* Look up some useful Atoms */ 252 /* Look up some useful Atoms */
253 if (SDL_X11_HAVE_UTF8) { 253 if (SDL_X11_HAVE_UTF8) {
254 _NET_WM_NAME = XInternAtom(SDL_Display, "_NET_WM_NAME", False); 254 _NET_WM_NAME = XInternAtom(SDL_Display, "_NET_WM_NAME", False);
255 _NET_WM_ICON_NAME = XInternAtom(SDL_Display, "_NET_WM_ICON_NAME", False); 255 _NET_WM_ICON_NAME = XInternAtom(SDL_Display, "_NET_WM_ICON_NAME", False);