[X2Go-Commits] [nx-libs] 186/429: Render.c: Init BoxRec
git-admin at x2go.org
git-admin at x2go.org
Mon Oct 18 09:36:26 CEST 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x
in repository nx-libs.
commit c1cae3c66a7ac5b351605111c936342e21578aa4
Author: Ulrich Sibiller <uli42 at gmx.de>
Date: Mon Jan 4 18:13:49 2021 +0100
Render.c: Init BoxRec
PVS Studio: "V614 Potentially uninitialized variable 'glyphBox.*' used."
---
nx-X11/programs/Xserver/hw/nxagent/Render.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Render.c b/nx-X11/programs/Xserver/hw/nxagent/Render.c
index 28e2d77fc..98d7aef67 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Render.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Render.c
@@ -1248,7 +1248,7 @@ void nxagentGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst,
PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int nlists,
XGlyphElt8 *elts, int sizeID, GlyphPtr *glyphsBase)
{
- BoxRec glyphBox;
+ BoxRec glyphBox = {0};
XGlyphElt8 *elements;
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list