[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master f62a6acd00: Better handle drag-and-drop from one Emacs frame
From: |
Eli Zaretskii |
Subject: |
Re: master f62a6acd00: Better handle drag-and-drop from one Emacs frame to another |
Date: |
Wed, 16 Mar 2022 14:48:38 +0200 |
> Date: Wed, 16 Mar 2022 14:20:32 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: luangruo@yahoo.com, emacs-devel@gnu.org
>
> > From: Lars Ingebrigtsen <larsi@gnus.org>
> > Date: Wed, 16 Mar 2022 12:16:58 +0100
> > Cc: Po Lu <luangruo@yahoo.com>
> >
> > One of these changes apparently leads to this warning:
> >
> > xterm.c: In function 'handle_one_xevent':
> > xterm.c:959:29: warning: 'target_proto' may be used uninitialized in this
> > function [-Wmaybe-uninitialized]
> > 959 | msg.xclient.data.l[1] = (((unsigned int) min
> > (X_DND_SUPPORTED_VERSION,
> > xterm.c:11653:17: note: 'target_proto' was declared here
> > 11653 | int target_proto;
> > | ^~~~~~~~~~~~
> >
> > On Debian/bookworm.
>
> Looks to me like a compiler bug, because AFAICT this variable _is_
> initialized before it is used.
Ignore me, I was looking at a fixed source file.