[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b2949d3: xfaces.c: Silence spurious maybe-uninitialized compiler
From: |
Juanma Barranquero |
Subject: |
master b2949d3: xfaces.c: Silence spurious maybe-uninitialized compiler warning |
Date: |
Fri, 13 Dec 2019 12:53:22 -0500 (EST) |
branch: master
commit b2949d39261e82c33572ba8a250298ef0b165b95
Author: Juanma Barranquero <address@hidden>
Commit: Juanma Barranquero <address@hidden>
xfaces.c: Silence spurious maybe-uninitialized compiler warning
* src/xfaces.c (face_inherited_attr): Initialize 'ok' to false.
---
src/xfaces.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xfaces.c b/src/xfaces.c
index 5c347d4..26fd363 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -2168,6 +2168,7 @@ face_inherited_attr (struct window *w, struct frame *f,
if (CONSP (parent_face))
{
Lisp_Object tail;
+ ok = false;
for (tail = parent_face; !NILP (tail); tail = XCDR (tail))
{
ok = get_lface_attributes (w, f, XCAR (tail), inherited_attrs,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b2949d3: xfaces.c: Silence spurious maybe-uninitialized compiler warning,
Juanma Barranquero <=