Powered by Linux
[PATCH] Remove unused variable from check_memset.c — Semantic Matching Tool

[PATCH] Remove unused variable from check_memset.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux