smatch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Levon <john.levon@joyent.com>
To: smatch@vger.kernel.org
Cc: John Levon <john.levon@joyent.com>
Subject: [PATCH] Remove unused variable from check_memset.c
Date: Tue, 12 Nov 2019 22:57:28 +0000	[thread overview]
Message-ID: <1573599448-21722-1-git-send-email-john.levon@joyent.com> (raw)

Fix "check_memset.c:47:9: warning: unused variable ‘sval’ [-Wunused-variable]"
---
 check_memset.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/check_memset.c b/check_memset.c
index 49818356..785e6374 100644
--- a/check_memset.c
+++ b/check_memset.c
@@ -44,7 +44,6 @@ static void check_size_not_ARRAY_SIZE(struct expression *expr)
 static void match_memset(const char *fn, struct expression *expr, void *data)
 {
 	struct expression *arg_expr;
-	sval_t sval;
 
 	arg_expr = get_argument_from_call_expr(expr->args, 2);
 	if (!arg_expr)
-- 
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=1573599448-21722-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).