diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2021-01-04 18:13:49 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2021-01-15 19:50:36 +0100 |
commit | c1cae3c66a7ac5b351605111c936342e21578aa4 (patch) | |
tree | e00f6eb8446ec5bec0a21136f8bb84450cc7a718 /nx-X11 | |
parent | 8bb77997f8e7828846d68a02e8e1f00571f3a4f5 (diff) | |
download | nx-libs-c1cae3c66a7ac5b351605111c936342e21578aa4.tar.gz nx-libs-c1cae3c66a7ac5b351605111c936342e21578aa4.tar.bz2 nx-libs-c1cae3c66a7ac5b351605111c936342e21578aa4.zip |
Render.c: Init BoxRec
PVS Studio: "V614 Potentially uninitialized variable 'glyphBox.*' used."
Diffstat (limited to 'nx-X11')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Render.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |