From a266f0bad37ae2fd49a3f9fbdfcd752568f237e7 Mon Sep 17 00:00:00 2001 From: Tim Cava Date: Sun, 2 Mar 2014 21:20:33 +0000 Subject: [PATCH] Remove a variable that is set but unused. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@495 13b04d17-f746-0410-82c6-800466cd88b0 --- source/hook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/hook.c b/source/hook.c index 832048b..65db816 100644 --- a/source/hook.c +++ b/source/hook.c @@ -1756,9 +1756,9 @@ static void add_numeric_list (NumericList *item) static NumericList *find_numeric_list (int numeric) { - NumericList *tmp, *last = NULL; + NumericList *tmp; - for (tmp = numeric_list; tmp; last = tmp, tmp = tmp->next) + for (tmp = numeric_list; tmp; tmp = tmp->next) { if (tmp->numeric == numeric) return tmp;