]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Statements after declarations, dammit
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Thu, 16 Jan 2003 00:52:28 +0000 (00:52 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Thu, 16 Jan 2003 00:52:28 +0000 (00:52 +0000)
[originally from svn r2618]

window.c

index 04d3d61f0f92b65806a6ed3ec7be4fc42cde9f6d..410c37efd8a09b85efdb2f441db919a63ea3c30d 100644 (file)
--- 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;