Skip to content

Commit

Permalink
Fixed potential use of an uninitialized variable in the SDL window ma…
Browse files Browse the repository at this point in the history
…nager.
  • Loading branch information
danij committed May 26, 2009
1 parent ed32819 commit bbdf797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/sys_sdl_window.c
Expand Up @@ -615,7 +615,7 @@ static boolean setDDWindow(ddwindow_t *window, int newWidth, int newHeight,
int width, height, bpp, flags;
boolean newGLContext = false;
boolean changeWindowDimensions = false;
boolean inControlPanel;
boolean inControlPanel = false;

if(uFlags & DDSW_NOCHANGES)
return true; // Nothing to do.
Expand Down

0 comments on commit bbdf797

Please sign in to comment.