[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57208: 29.0.50; Uninitialized compilation warnings in xterm.c
From: |
Eli Zaretskii |
Subject: |
bug#57208: 29.0.50; Uninitialized compilation warnings in xterm.c |
Date: |
Tue, 16 Aug 2022 05:36:31 +0300 |
> 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" <bug-gnu-emacs@gnu.org>
>
> 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.