X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=config.c;h=de21cbbd481136d3f7d227bc708fef959f0b7c09;hb=b0bb426aa7ade2204b1d5b7f3f3570ebf7501c56;hp=a8f388e45d8cca8c262a7b82f77d4c131b0d4434;hpb=bc6e0952ef1c27c577318ee3c0883c7823c7005b;p=PuTTY.git 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)