diff options
author | Albert Astals Cid <aacid@kde.org> | 2018-05-24 23:49:12 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2018-05-24 23:49:12 +0200 |
commit | b228892adb01f978d5e6045e1e61741bca1950d2 (patch) | |
tree | 0a0f8f179c386e0812add6a466e87c1f92a2ffc8 /splash | |
parent | 67be3708cc4dea9e03f5d0ce5b0214fff35748f2 (diff) |
Splash::blitImageClipped: initialize pixel
At least this way if the getPixels call we're not drawing random memory
and thus we get a stable render which helps with regtests
Diffstat (limited to 'splash')
-rw-r--r-- | splash/Splash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc index a95cc805..d493b22d 100644 --- a/splash/Splash.cc +++ b/splash/Splash.cc @@ -5187,7 +5187,7 @@ void Splash::blitImageClipped(SplashBitmap *src, GBool srcAlpha, int xSrc, int ySrc, int xDest, int yDest, int w, int h) { SplashPipe pipe; - SplashColor pixel; + SplashColor pixel = {}; Guchar *ap; int x, y; |