From: John Levon <john.levon@joyent.com>
To: smatch@vger.kernel.org
Cc: John Levon <john.levon@joyent.com>
Subject: [PATCH] Fix unused variable in macro_table.c
Date: Tue, 12 Nov 2019 22:57:23 +0000 [thread overview]
Message-ID: <1573599443-21621-1-git-send-email-john.levon@joyent.com> (raw)
Fix "macro_table.c:93:22: warning: unused variable ‘list’ [-Wunused-variable]"
---
macro_table.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/macro_table.c b/macro_table.c
index 17820b8e..251bd99f 100644
--- a/macro_table.c
+++ b/macro_table.c
@@ -90,8 +90,6 @@ char *get_inner_macro(struct position pos)
struct string_list *get_all_macros(struct position pos)
{
- struct string_list *list;
-
if (!macro_table)
return NULL;
return do_search_macro(macro_table, &pos);
--
2.17.1
reply other threads:[~2019-11-12 23:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1573599443-21621-1-git-send-email-john.levon@joyent.com \
--to=john.levon@joyent.com \
--cc=smatch@vger.kernel.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.
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).