Skip to contentSkip to conversation

Fix unused variable in macro_table.c

PATCH New John Levon 1 participant 1 message Nov 12, 2019

lore
Share & tools
lore

John Levon

author
#0 lore raw

PATCH 1/1 Fix unused variable in macro_table.c

Fix "macro_table.c:93:22: warning: unused variable ‘list’ [-Wunused-variable]"

---
 macro_table.c | 2 --
 1 file changed, 2 deletions(-)
macro_table.c +0 -2
index 17820b8e..251bd99f 100644
@@ -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);
Signature · 1 line
2.17.1