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

@@ -426,7 +426,7 @@ namespace detail
unsigned char * fade_table = nullptr;
std::unique_ptr<unsigned char[]> autoptr;
nana::pixel_argb_t rgb_imd;
nana::pixel_argb_t rgb_imd = {};
if(fade_rate != 0.0)
{
autoptr = detail::alloc_fade_table(1 - fade_rate);