Merge branch 'uninitialized_variables' of https://github.com/dankan1890/nana into dankan1890-uninitialized_variables

This commit is contained in:
Jinhao
2016-12-01 03:37:25 +08:00
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);