From: Juanma Barranquero Date: Thu, 12 Dec 2019 13:42:36 +0000 (+0100) Subject: Avoid spurious warning about maybe-uninitialized variable X-Git-Tag: emacs-27.0.90~370 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=54d2fd117853cc57edc5bfc04fa4d1dd1e9aea46;p=emacs.git Avoid spurious warning about maybe-uninitialized variable * src/xdisp.c (face_at_pos): Initialize base_face_id to 0 to silence the compiler. --- diff --git a/src/xdisp.c b/src/xdisp.c index bfc48e36a99..f3aba4a5980 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4180,7 +4180,7 @@ face_at_pos (const struct it *it, enum lface_attribute_index attr_filter) } else { - int base_face_id; + int base_face_id = 0; ptrdiff_t bufpos; int i; Lisp_Object from_overlay