From: Arash Esbati <arash@gnu.org>
To: "Mattias Engdegård" <mattiase@acm.org>
Cc: "emacs-devel" <emacs-devel@gnu.org>
Subject: json.c: Warning during compilation
Date: Tue, 02 Apr 2024 23:19:20 +0200 [thread overview]
Message-ID: <m2a5mbh38n.fsf@macmutant.fritz.box> (raw)
Hi Mattias,
when building Emacs (5eedf41b31) on macOS, I get this warning:
json.c:1418:14: warning: variable 'number_of_elements' set but not used
[-Wunused-but-set-variable]
size_t number_of_elements = 0;
^
This is with:
$ gcc --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Best, Arash
next reply other threads:[~2024-04-02 21:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-02 21:19 Arash Esbati [this message]
2024-04-03 8:21 ` json.c: Warning during compilation Mattias Engdegård
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=m2a5mbh38n.fsf@macmutant.fritz.box \
--to=arash@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=mattiase@acm.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).