Fixed some uninitialized variables.

This commit is contained in:
dankan1890
2016-11-27 15:38:56 +01:00
parent abe2f0687f
commit a39013afd1
6 changed files with 11 additions and 11 deletions

View File

@@ -237,7 +237,7 @@ namespace detail
if(wd_manager().available(wd) == false)
return false;
core_window_t * prev_wd;
core_window_t * prev_wd = nullptr;
if(thrd)
{
prev_wd = thrd->event_window;

View File

@@ -760,7 +760,7 @@ namespace detail
if (bedrock::instance().wd_manager().available(wd) == false)
return;
basic_window* prev_event_wd;
basic_window* prev_event_wd = nullptr;
if (thrd)
{
prev_event_wd = thrd->event_window;
@@ -1630,7 +1630,7 @@ namespace detail
if (wd_manager().available(wd) == false)
return false;
basic_window* prev_event_wd;
basic_window* prev_event_wd = nullptr;
if (thrd)
{
prev_event_wd = thrd->event_window;