mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-16 03:53:01 -05:00
Statements after declarations, dammit
[originally from svn r2618]
This commit is contained in:
parent
fda52aad66
commit
123ff82f7a
2
window.c
2
window.c
@ -275,8 +275,8 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
|
|||||||
default_protocol = be_default_protocol;
|
default_protocol = be_default_protocol;
|
||||||
/* Find the appropriate default port. */
|
/* Find the appropriate default port. */
|
||||||
{
|
{
|
||||||
default_port = 0; /* illegal */
|
|
||||||
int i;
|
int i;
|
||||||
|
default_port = 0; /* illegal */
|
||||||
for (i = 0; backends[i].backend != NULL; i++)
|
for (i = 0; backends[i].backend != NULL; i++)
|
||||||
if (backends[i].protocol == default_protocol) {
|
if (backends[i].protocol == default_protocol) {
|
||||||
default_port = backends[i].backend->default_port;
|
default_port = backends[i].backend->default_port;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user