projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73f37da
)
xfaces.c: Silence spurious maybe-uninitialized compiler warning
author
Juanma Barranquero
<lekktu@gmail.com>
Fri, 13 Dec 2019 17:52:49 +0000
(18:52 +0100)
committer
Juanma Barranquero
<lekktu@gmail.com>
Fri, 13 Dec 2019 17:52:49 +0000
(18:52 +0100)
* src/xfaces.c (face_inherited_attr): Initialize 'ok' to false.
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index 5c347d41e30388779b367f74b563f50bbe9d8b1c..26fd3631f90543023ff11f54b599ede14f7829ff 100644
(file)
--- 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,