Merge pull request #1123 from Allofich/warnings

Fix dereference of null pointer warning
coverity_scan^2
scrawl 8 years ago committed by GitHub
commit 92d42ef49b

@ -51,6 +51,7 @@ namespace
{
for (int x=0; x<128; ++x)
{
assert(image->data(x,y));
*(image->data(x,y)+2) = *it++;
*(image->data(x,y)+1) = *it++;
*image->data(x,y) = *it++;

Loading…
Cancel
Save