[PATCH] Remove unused variable from check_memset.c

John Levon <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.