diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2019-12-13 18:52:49 +0100 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2019-12-13 18:52:49 +0100 |
commit | b2949d39261e82c33572ba8a250298ef0b165b95 (patch) | |
tree | 29729c9150e73b33a5052d5e2f467f43da140006 | |
parent | 73f37da12dc7808a2be1d38787642f4900632b49 (diff) | |
download | emacs-b2949d39261e82c33572ba8a250298ef0b165b95.tar.gz emacs-b2949d39261e82c33572ba8a250298ef0b165b95.tar.bz2 emacs-b2949d39261e82c33572ba8a250298ef0b165b95.zip |
xfaces.c: Silence spurious maybe-uninitialized compiler warning
* src/xfaces.c (face_inherited_attr): Initialize 'ok' to false.
-rw-r--r-- | src/xfaces.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 5c347d41e30..26fd3631f90 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, |