]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Remove an unused variable.
authorSimon Tatham <anakin@pobox.com>
Sat, 28 Jul 2012 16:33:17 +0000 (16:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 28 Jul 2012 16:33:17 +0000 (16:33 +0000)
[originally from svn r9589]

config.c

index a8f388e45d8cca8c262a7b82f77d4c131b0d4434..de21cbbd481136d3f7d227bc708fef959f0b7c09 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)