unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: Po Lu via Mailing list for Emacs changes <emacs-devel@gnu.org>
Subject: Re: master 32ab6d7105 1/3: Improve XI focus handling
Date: Sun, 07 Aug 2022 22:23:02 +0800	[thread overview]
Message-ID: <87o7wwrv3t.fsf@yahoo.com> (raw)
In-Reply-To: <87bksw17cr.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 07 Aug 2022 16:00:36 +0200")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> This (or an adjacent commit) seems to lead to this warning:
>
> xterm.c: In function ‘xi_handle_focus_change’:
> xterm.c:12564:25: warning: ‘source’ may be used uninitialized in this function [-Wmaybe-uninitialized]
> 12564 |       ie.device = source->name;
>       |                   ~~~~~~^~~~~~
>
> (This is with an --enable-checking build on Debian/bookworm, if that
> makes a difference).

If new is set, then source has been as well.  So I think this is a false
positive.

Feel free to install a change neutralizing this warning for the time
being.



  reply	other threads:[~2022-08-07 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <165975258963.23776.2101095728150882604@vcs2.savannah.gnu.org>
     [not found] ` <20220806022310.40D6EC09BFD@vcs2.savannah.gnu.org>
2022-08-06  8:43   ` master ef0546ffcd 2/3: Fix signature of `seconds-to-time' Stefan Monnier
2022-08-06  9:03     ` Po Lu
     [not found] ` <20220806022310.27F7AC09BFB@vcs2.savannah.gnu.org>
2022-08-07 14:00   ` master 32ab6d7105 1/3: Improve XI focus handling Lars Ingebrigtsen
2022-08-07 14:23     ` Po Lu [this message]
2022-08-07 15:23       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7wwrv3t.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).