1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Remove an unused variable.

[originally from svn r9589]
This commit is contained in:
Simon Tatham 2012-07-28 16:33:17 +00:00
parent aa5bae8916
commit afa871e3cf

View File

@ -1128,9 +1128,8 @@ static void portfwd_handler(union control *ctrl, void *dlg,
} else if (event == EVENT_ACTION) { } else if (event == EVENT_ACTION) {
if (ctrl == pfd->addbutton) { if (ctrl == pfd->addbutton) {
char *family, *type, *src, *key, *val; char *family, *type, *src, *key, *val;
int i, whichbutton; int whichbutton;
i = 0;
#ifndef NO_IPV6 #ifndef NO_IPV6
whichbutton = dlg_radiobutton_get(pfd->addressfamily, dlg); whichbutton = dlg_radiobutton_get(pfd->addressfamily, dlg);
if (whichbutton == 1) if (whichbutton == 1)