Remove an unused variable.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Jul 2012 16:33:17 +0000 (16:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Jul 2012 16:33:17 +0000 (16:33 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@9589 cda61777-01e9-0310-a592-d414129be87e

config.c

index a8f388e..de21cbb 100644 (file)
--- 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)