]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - config.c
Move the declaration of smemclr() out of putty.h into misc.h, because
[PuTTY.git] / 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)