From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Compiler warning in xdisp.c Date: Tue, 23 Nov 2021 14:48:51 +0200 Message-ID: <83fsrnox58.fsf@gnu.org> References: <87h7c35hfs.fsf.ref@yahoo.com> <87h7c35hfs.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 23 13:52:57 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpVI6-0007b1-Fu for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Nov 2021 13:52:54 +0100 Original-Received: from localhost ([::1]:42204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpVI4-00031r-Vz for ged-emacs-devel@m.gmane-mx.org; Tue, 23 Nov 2021 07:52:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpVE7-0000Ln-FY for emacs-devel@gnu.org; Tue, 23 Nov 2021 07:48:48 -0500 Original-Received: from [2001:470:142:3::e] (port=43692 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpVE6-0002gj-Iq; Tue, 23 Nov 2021 07:48:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PNIs2h6XxgL3JJ2QqRa+uZL8vvRigcci+48Q0+K64w8=; b=pFUY4XUOG5VC5Nj2eZZH YDj+Co/fcVfRq9VaYTJr2CvtznbGiLE87/o9mlZ84h8hoRxZ6r6W4vvhI/C8CTwluiPO82JM+4Ng/ pQw/Hr9dO0tPwQ6pK5cfr1vUmdfvOdZdf+ueDj0POpSsE3hT/U6efg215kj2nKOmTJejs5raB9FMc GQOIxaMk3xL9yjdfFXTZZ30gGkRQBUw1TszxwJQ/CqR7qYG7EDx5W9aip7mULkP9CDGwfMkTA3QMk NwOtO/17wD8pQAFOyL+I4pDbv6gTNXAniiKRnjQzptJtjATyFutQgsHPJ0N5wNoDFRByyS3e5b6HI lYLQw6Hd0LzieA==; Original-Received: from [87.69.77.57] (port=1575 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpVE1-0003W0-DO; Tue, 23 Nov 2021 07:48:45 -0500 In-Reply-To: <87h7c35hfs.fsf@yahoo.com> (message from Po Lu on Tue, 23 Nov 2021 17:50:47 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:279947 Archived-At: > From: Po Lu > Date: Tue, 23 Nov 2021 17:50:47 +0800 > > In file included from composite.h:29, > from xdisp.c:441: > xdisp.c: In function ‘produce_stretch_glyph’: > dispextern.h:1891:10: warning: ‘face’ may be used uninitialized in this function [-Wmaybe-uninitialized] > 1891 | return face_for_char (f, face, character, pos, object); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > xdisp.c:30063:16: note: ‘face’ was declared here > 30063 | struct face *face; > | ^~~~ A bogus warning, which should be fixed now (on the release branch; soon on master). Meanwhile, you can safely disregard it.