diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-28 10:23:50 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-29 11:46:39 +0200 |
commit | 5ecc01990dbdd21501d49a1a5a66a2348d0e229b (patch) | |
tree | 57c98e5ba983e594c1b6cad86904f577873bd1a9 /starmath | |
parent | e3ea0e32657a41b48d9d9d28f6ad15af4c2a7abc (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I35210b36a927b96f29d0a07a3cf63e226e4c4453
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121191
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathtype.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index acdeba5fcfb6..b32ad0c555ec 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -2815,8 +2815,8 @@ void MathType::HandleEmblishments() void MathType::HandleSetSize() { - sal_uInt8 nTemp; - pS->ReadUChar( nTemp ); + sal_uInt8 nTemp(0); + pS->ReadUChar(nTemp); switch (nTemp) { case 101: |