summaryrefslogtreecommitdiff
path: root/include/vcl/animate.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-31 21:19:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-01 10:38:25 +0100
commitc71de3a440b6fe44776691553f2726752f184426 (patch)
tree1570bf520946ebe065149a232441a517a5d6da02 /include/vcl/animate.hxx
parentf6953937df5d92d70c59ff9f0b91042285016b23 (diff)
coverity#708211 Uninitialized scalar field
Change-Id: Id1a96b9f003effe0232a875bfbd3149076096c55
Diffstat (limited to 'include/vcl/animate.hxx')
-rw-r--r--include/vcl/animate.hxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/vcl/animate.hxx b/include/vcl/animate.hxx
index a8bcfec81fea..f75caf6f5cca 100644
--- a/include/vcl/animate.hxx
+++ b/include/vcl/animate.hxx
@@ -52,7 +52,13 @@ struct VCL_DLLPUBLIC AnimationBitmap
Disposal eDisposal;
bool bUserInput;
- AnimationBitmap() {}
+ AnimationBitmap()
+ : nWait(0)
+ , eDisposal(DISPOSE_NOT)
+ , bUserInput(false)
+ {
+ }
+
AnimationBitmap(
const BitmapEx& rBmpEx,
const Point& rPosPix,