APPROVE COMMIT
NOTE: This patch has been committed
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1534095018 -3600
# Sun Aug 12 18:30:18 2018 +0100
# Node ID 22544df6c9205a9d08fb9405b22d227ac98b3866
# Parent ab23fd48c3f8a61e865ba71d810104fd96610aee
Quieten the compiler, x_font_instance_properties().
src/ChangeLog addition:
2018-08-12 Aidan Kehoe <kehoea(a)parhasard.net>
* fontcolor-x.c (x_font_instance_properties):
Initialise name_len here to quieten the compiler.
diff -r ab23fd48c3f8 -r 22544df6c920 src/ChangeLog
--- a/src/ChangeLog Sun Aug 12 18:14:35 2018 +0100
+++ b/src/ChangeLog Sun Aug 12 18:30:18 2018 +0100
@@ -1,3 +1,8 @@
+2018-08-12 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * fontcolor-x.c (x_font_instance_properties):
+ Initialise name_len here to quieten the compiler.
+
2018-08-12 Aidan Kehoe <kehoea(a)parhasard.net>
* data.c:
diff -r ab23fd48c3f8 -r 22544df6c920 src/fontcolor-x.c
--- a/src/fontcolor-x.c Sun Aug 12 18:14:35 2018 +0100
+++ b/src/fontcolor-x.c Sun Aug 12 18:30:18 2018 +0100
@@ -833,7 +833,7 @@
Lisp_Object name, value;
Atom atom = props [i].name;
Ibyte *name_str = 0;
- Bytecount name_len;
+ Bytecount name_len = 0;
Extbyte *namestrext = XGetAtomName (dpy, atom);
if (namestrext)
--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)