X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/ffa79828fe69957be5910db025e26a10be94954d..2dadaea5bcd47f319fef38fc0854af9e82664933:/window.c diff --git a/window.c b/window.c index 04d3d61f..410c37ef 100644 --- a/window.c +++ b/window.c @@ -275,8 +275,8 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) default_protocol = be_default_protocol; /* Find the appropriate default port. */ { - default_port = 0; /* illegal */ int i; + default_port = 0; /* illegal */ for (i = 0; backends[i].backend != NULL; i++) if (backends[i].protocol == default_protocol) { default_port = backends[i].backend->default_port;