From afa871e3cfc82eb6b92b02fd1dad094c5d1949f2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 28 Jul 2012 16:33:17 +0000 Subject: [PATCH] Remove an unused variable. [originally from svn r9589] --- config.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config.c b/config.c index a8f388e4..de21cbbd 100644 --- a/config.c +++ b/config.c @@ -1128,9 +1128,8 @@ static void portfwd_handler(union control *ctrl, void *dlg, } else if (event == EVENT_ACTION) { if (ctrl == pfd->addbutton) { char *family, *type, *src, *key, *val; - int i, whichbutton; + int whichbutton; - i = 0; #ifndef NO_IPV6 whichbutton = dlg_radiobutton_get(pfd->addressfamily, dlg); if (whichbutton == 1) -- 2.45.2