Powered by Linux
[PATCH] Fix unused variable in macro_table.c — Semantic Matching Tool

[PATCH] Fix unused variable in macro_table.c

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

 



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




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

  Powered by Linux