diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-15 08:55:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-15 11:27:43 +0200 |
commit | 88a6ac9f75a4375b72111af5a3e004bef4226455 (patch) | |
tree | 718f2ce46230a3c82327090e0c8ff186802aa873 | |
parent | bd7e394769f43c296a20c6faa48b6ae3a142c7a8 (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I5ae6f55789eebdc688ead4524a7af7a7739314bf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122110
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/source/filter/imet/ios2met.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vcl/source/filter/imet/ios2met.cxx b/vcl/source/filter/imet/ios2met.cxx index a9c7a2cdde96..d80a8e5d1cc7 100644 --- a/vcl/source/filter/imet/ios2met.cxx +++ b/vcl/source/filter/imet/ios2met.cxx @@ -231,6 +231,16 @@ struct OSArea { RasterOp eMix; RasterOp eBgMix; bool bFill; + + OSArea() + : pSucc(nullptr) + , nFlags(0) + , bClosed(false) + , eMix(RasterOp::OverPaint) + , eBgMix(RasterOp::OverPaint) + , bFill(false) + { + } }; struct OSPath |