[PATCH] Fix unused variable in macro_table.c

John Levon <[email protected]>
Newsgroups org.kernel.vger.smatch
Message-ID <[email protected]>
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
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.