[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Mar 24 15:18:15 UTC 2021
vcl/unx/generic/app/saldisp.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2206e6e8f0cd392b32059fb8ecb7a3e1fa38be60
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Mar 24 08:45:38 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Mar 24 16:17:28 2021 +0100
cid#1474443 Uninitialized scalar variable
Change-Id: I346425552d437cfd77dced31efca384d8de7b542
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113019
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 44362fc86a3f..ce72a42494e9 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -2365,8 +2365,8 @@ SalVisual::SalVisual( const XVisualInfo* pXVI )
if( GetClass() != TrueColor )
{
eRGBMode_ = SalRGB::RGB;
- nRedShift_ = nGreenShift_ = nBlueShift_;
- nRedBits_ = nGreenBits_ = nBlueBits_;
+ nRedShift_ = nGreenShift_ = nBlueShift_ = 0;
+ nRedBits_ = nGreenBits_ = nBlueBits_ = 0;
return;
}
More information about the Libreoffice-commits
mailing list