From: Lars Ingebrigtsen <larsi@gnus.org>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org
Subject: Re: master c8bde5b0a3: Fix two no-X compilation warnings
Date: Wed, 23 Mar 2022 12:17:07 +0100 [thread overview]
Message-ID: <8735j8c40c.fsf@gnus.org> (raw)
In-Reply-To: <874k3pebdk.fsf@yahoo.com> (Po Lu's message of "Wed, 23 Mar 2022 08:55:03 +0800")
Po Lu <luangruo@yahoo.com> writes:
> I thought the right thing to do in this particular situation was to add
> a defvar form that read something like this:
>
> (defvar x-resource-name)
That would hide the compilation warning, too -- but if the code actually
ends up being called, it'll bug out. (That's not very likely in this
case, though.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-03-23 11:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <164798008014.25625.1667266381969929314@vcs2.savannah.gnu.org>
[not found] ` <20220322201440.6B4ABC01680@vcs2.savannah.gnu.org>
2022-03-23 0:55 ` master c8bde5b0a3: Fix two no-X compilation warnings Po Lu
2022-03-23 11:17 ` Lars Ingebrigtsen [this message]
2022-03-23 11:48 ` Po Lu
2022-03-23 11:50 ` Lars Ingebrigtsen
2022-03-23 12:57 ` Po Lu
2022-03-23 13:09 ` Andreas Schwab
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=8735j8c40c.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
/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).