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.bugs Subject: bug#57208: 29.0.50; Uninitialized compilation warnings in xterm.c Date: Tue, 16 Aug 2022 05:36:31 +0300 Message-ID: <838rnohq34.fsf@gnu.org> References: <87bksmom16.fsf@tcd.ie> <875yius4zj.fsf@yahoo.com> <878rnp2qlw.fsf@tcd.ie> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28268"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 57208@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 04:37:14 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oNmSA-00077g-7b for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 04:37:14 +0200 Original-Received: from localhost ([::1]:42002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNmS9-0001cs-2B for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 22:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNmRy-0001cj-FM for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 22:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNmRy-00047v-78 for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 22:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNmRy-0006tV-1k for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 22:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 02:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57208 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo patch Original-Received: via spool by 57208-submit@debbugs.gnu.org id=B57208.166061741126482 (code B ref 57208); Tue, 16 Aug 2022 02:37:02 +0000 Original-Received: (at 57208) by debbugs.gnu.org; 16 Aug 2022 02:36:51 +0000 Original-Received: from localhost ([127.0.0.1]:44440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNmRm-0006t3-UM for submit@debbugs.gnu.org; Mon, 15 Aug 2022 22:36:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38680) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNmRl-0006sr-HH for 57208@debbugs.gnu.org; Mon, 15 Aug 2022 22:36:49 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36800) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNmRf-00045Y-To; Mon, 15 Aug 2022 22:36:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IBtgR8T3zQbiH6979uf00LSaG1vz2lhpprMDa01CLss=; b=hlN/wihjf4NO kpnQMh0Xc6o3JdSK9TeFMwaw5BgI2CSKerhPG2QyaQg19cyFUo0TTEiFkziFUnzMxunfTnmOJBHFM 8cZXFJBC7HmB6E1MiDx8/TJBEuwq5mkDlj+xUIPXwBwjUhvlOlIYkgJeXNOc8ekh3eO7Bj6IWkYu2 gcXQHVK28gwuVQVQUIUGilVhrPJ8yGuHE5KKqaQ8V9juU31khos0vO3itDfQHtNexl+uEbENMgwnw CTqTtbAx7IF2IoRevLlNCAaJj8FxkA0Nerl5iyhNuJnKDR459AOmDxNGqNuXn+/akfQ4pwhWqhpDV jH/LM2qq3iKiQx5AVNXs0g==; Original-Received: from [87.69.77.57] (port=2687 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 1oNmRf-0001IO-De; Mon, 15 Aug 2022 22:36:43 -0400 In-Reply-To: <878rnp2qlw.fsf@tcd.ie> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:239863 Archived-At: > Cc: 57208@debbugs.gnu.org > Date: Mon, 15 Aug 2022 23:34:19 +0300 > From: "Basil L. Contovounesios" via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Po Lu [2022-08-15 08:52 +0800] wrote: > > > Yes, those are all bogus. I installed something different to pacify > > them on master. > > Thanks. Just curious: what's the advantage of using UNINIT? > When should it or shouldn't it be preferred? It should be used when the warning is due to a compiler bug or misfeature, and our code is fine. That's what UNINIT says: it says that it's okay to leave this variable uninitialized.