X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/dfb88efd1c9503370bee8e677bbefad6ef41df85..5acdb74b14f86380cad192d90537f7b0cbc4c5e3:/config.c 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)