unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 5f7d9a: Apply root window coordinate optimizations to crossing events as well
@ 2022-09-28 15:04 Lars Ingebrigtsen
  2022-09-29  0:31 ` Po Lu
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-28 15:04 UTC (permalink / raw)
  To: Po Lu; +Cc: Emacs-devel@gnu.org

This seems to lead to:

xterm.c: In function 'handle_one_xevent':
xterm.c:23931:13: warning: 'gen_help_time' may be used uninitialized in this function [-Wmaybe-uninitialized]
23931 |             xi_handle_interaction (dpyinfo, f,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23932 |                                    gen_help_device,
      |                                    ~~~~~~~~~~~~~~~~
23933 |                                    gen_help_time);
      |                                    ~~~~~~~~~~~~~~

(And the hours-long delays in gnu.org mailing lists seems to be
happening again.  Can somebody poke the people responsible?  It's really
annoying, and wastes time for everybody.)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 5f7d9a: Apply root window coordinate optimizations to crossing events as well
  2022-09-28 15:04 5f7d9a: Apply root window coordinate optimizations to crossing events as well Lars Ingebrigtsen
@ 2022-09-29  0:31 ` Po Lu
  0 siblings, 0 replies; 2+ messages in thread
From: Po Lu @ 2022-09-29  0:31 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: Emacs-devel@gnu.org

Lars Ingebrigtsen <larsi@gnus.org> writes:

> This seems to lead to:
>
> xterm.c: In function 'handle_one_xevent':
> xterm.c:23931:13: warning: 'gen_help_time' may be used uninitialized in this function [-Wmaybe-uninitialized]
> 23931 |             xi_handle_interaction (dpyinfo, f,
>       |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 23932 |                                    gen_help_device,
>       |                                    ~~~~~~~~~~~~~~~~
> 23933 |                                    gen_help_time);
>       |                                    ~~~~~~~~~~~~~~

That's a false positive, since gen_help_time is set at the place where
gen_help_device becomes non-NULL.

I will add some code to silence the warning.

> (And the hours-long delays in gnu.org mailing lists seems to be
> happening again.  Can somebody poke the people responsible?  It's really
> annoying, and wastes time for everybody.)

Yes, I see that a lot with emacs-diffs, where I get the mail several
hours after a commit is made.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-29  0:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 15:04 5f7d9a: Apply root window coordinate optimizations to crossing events as well Lars Ingebrigtsen
2022-09-29  0:31 ` Po Lu

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).