Return-Path: Received: from movementarian.org ([178.79.150.28]:45676 "EHLO movementarian.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727069AbfKLXPp (ORCPT ); Tue, 12 Nov 2019 18:15:45 -0500 From: John Levon Subject: [PATCH] Fix unused variable in macro_table.c Date: Tue, 12 Nov 2019 22:57:23 +0000 Message-Id: <1573599443-21621-1-git-send-email-john.levon@joyent.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: smatch-owner@vger.kernel.org List-ID: To: smatch@vger.kernel.org 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