diff options
author | Jesus Fernandez <jesus.fernandez@qt.io> | 2018-01-10 10:41:09 +0100 |
---|---|---|
committer | Jesus Fernandez <Jesus.Fernandez@qt.io> | 2018-01-10 12:05:35 +0000 |
commit | cee8c21efada48c6f1ce9e0359170edbf334cec3 (patch) | |
tree | 460d465f7b4975b96a8d5d9049e92c2f3d96e101 /src/quick/items | |
parent | 709b09b026d34b6a9c30c02cedae56a4d467c960 (diff) |
Initialize member variable
>>> CID 186477: Uninitialized members (UNINIT_CTOR)
>>> Non-static class member "padding" is not initialized in this
Change-Id: I1861a959ec8027b62321885de5d48e6e1df1ccc4
Coverity-Id: 186477
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items')
-rw-r--r-- | src/quick/items/qquickanimatedimage_p_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickanimatedimage_p_p.h b/src/quick/items/qquickanimatedimage_p_p.h index 85508459f9..e172962ee4 100644 --- a/src/quick/items/qquickanimatedimage_p_p.h +++ b/src/quick/items/qquickanimatedimage_p_p.h @@ -70,8 +70,8 @@ class QQuickAnimatedImagePrivate : public QQuickImagePrivate public: QQuickAnimatedImagePrivate() - : playing(true), paused(false), oldPlaying(false), presetCurrentFrame(0) - , currentSourceSize(0, 0), movie(nullptr) + : playing(true), paused(false), oldPlaying(false), padding(0) + , presetCurrentFrame(0) , currentSourceSize(0, 0), movie(nullptr) #if QT_CONFIG(qml_network) , reply(nullptr), redirectCount(0) #endif |