summaryrefslogtreecommitdiff
path: root/emfio/source/reader/wmfreader.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-06 17:08:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-06 20:32:18 +0100
commit0559e7e183dcdcdb3e39870eb3354e51c876f2b7 (patch)
tree568103d4b3a14be7804c9afe8c0cab68edcc8335 /emfio/source/reader/wmfreader.cxx
parentc067552caa38882b250279c1f9475a5537c4333f (diff)
ofz: Use-of-uninitialized-value
since... Date: Wed Jun 2 17:01:55 2021 +0200 WMF: add more SAL warnings in case record was not implemented Change-Id: I1d58c4093817403caa5f1112b5d4d5a4e638b799 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116618 Change-Id: Ib82efbc93405b7fafb661f698a772593d2495bd8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126454 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'emfio/source/reader/wmfreader.cxx')
-rw-r--r--emfio/source/reader/wmfreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx
index f84fdcce4cc6..c4d21b3231b1 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -1185,7 +1185,7 @@ namespace emfio
case W_META_SELECTCLIPREGION:
{
- sal_uInt16 nObjIndex;
+ sal_uInt16 nObjIndex = 0;
mpInputStream->ReadUInt16( nObjIndex );
SAL_WARN( "emfio", "TODO: W_META_SELECTCLIPREGION is not implemented. Please fill the bug report" );
if ( !nObjIndex )