* [PATCH] Fix unused variable in macro_table.c
@ 2019-11-12 22:57 John Levon
0 siblings, 0 replies; only message in thread
From: John Levon @ 2019-11-12 22:57 UTC (permalink / raw)
To: smatch; +Cc: John Levon
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-12 23:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12 22:57 [PATCH] Fix unused variable in macro_table.c John Levon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.