[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2-demos] master 0b81178: * graph/x11/grx11.c (gr_x11_surface_in
From: |
Werner LEMBERG |
Subject: |
[freetype2-demos] master 0b81178: * graph/x11/grx11.c (gr_x11_surface_init): Initialize `xswa'. |
Date: |
Fri, 20 Sep 2019 00:23:31 -0400 (EDT) |
branch: master
commit 0b8117840ea803ab2db87004e985cd123a98aa9d
Author: Werner Lemberg <address@hidden>
Commit: Werner Lemberg <address@hidden>
* graph/x11/grx11.c (gr_x11_surface_init): Initialize `xswa'.
This removes two valgrind warnings about
Conditional jump or move depends on uninitialised value(s)
---
ChangeLog | 8 ++++++++
graph/x11/grx11.c | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7ba4449..5fbc1db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2019-09-20 Werner Lemberg <address@hidden>
+
+ * graph/x11/grx11.c (gr_x11_surface_init): Initialize `xswa'.
+
+ This removes two valgrind warnings about
+
+ Conditional jump or move depends on uninitialised value(s)
+
2019-08-27 Werner Lemberg <address@hidden>
* Makefile (PLATFORM==unixdev): Add `libbrotlidec'.
diff --git a/graph/x11/grx11.c b/graph/x11/grx11.c
index aa60b8a..c923e0a 100644
--- a/graph/x11/grx11.c
+++ b/graph/x11/grx11.c
@@ -1328,9 +1328,9 @@ typedef unsigned long uint32;
return 0;
{
- XTextProperty xtp = { (unsigned char*)"FreeType", 31, 8, 8 };
- XSizeHints xsh = { };
- XSetWindowAttributes xswa;
+ XTextProperty xtp = { (unsigned char*)"FreeType", 31, 8, 8 };
+ XSizeHints xsh = { };
+ XSetWindowAttributes xswa = { };
unsigned long xswa_mask = CWEventMask | CWCursor;
pid_t pid;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2-demos] master 0b81178: * graph/x11/grx11.c (gr_x11_surface_init): Initialize `xswa'.,
Werner LEMBERG <=