diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-06-01 09:05:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-06-02 18:02:06 +0200 |
commit | 3a8eb264b912b76a12af7a94b24b5ac6acc2347d (patch) | |
tree | a5080ad10d7353fac7fb8ca24f70ef869fc3736c /tools | |
parent | dde1586c5eebe86deeb1126cde539b3932e2d5a1 (diff) |
valgrind: uninitialized read
Change-Id: I29811f652c2368a0fecef66dd02343d12ee67068
Reviewed-on: https://gerrit.libreoffice.org/55178
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/color.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx index 70b388b416f9..a0d409d6e76c 100644 --- a/tools/source/generic/color.cxx +++ b/tools/source/generic/color.cxx @@ -206,7 +206,7 @@ OUString Color::AsRGBHexString() const SvStream& ReadColor( SvStream& rIStream, Color& rColor ) { - sal_uInt16 nColorName; + sal_uInt16 nColorName(0); rIStream.ReadUInt16( nColorName ); |