# HG changeset patch # User Matt Johnston # Date 1189512018 0 # Node ID f4addc06745b02a2cb35b607f15cbfcbc20cdb32 # Parent e430a26064ee86ab79aef372118d6d03b2441996 Make sure declarations of variables are at the top of function, pointed out by Alexey Rusakov. diff -r e430a26064ee -r f4addc06745b cli-runopts.c --- a/cli-runopts.c Wed Aug 08 15:57:50 2007 +0000 +++ b/cli-runopts.c Tue Sep 11 12:00:18 2007 +0000 @@ -89,6 +89,9 @@ #endif char* dummy = NULL; /* Not used for anything real */ + char* recv_window_arg = NULL; + char* keepalive_arg = NULL; + /* see printhelp() for options */ cli_opts.progname = argv[0]; cli_opts.remotehost = NULL; @@ -114,8 +117,6 @@ opts.ipv6 = 1; */ opts.recv_window = DEFAULT_RECV_WINDOW; - char* recv_window_arg = NULL; - char* keepalive_arg = NULL; /* Iterate all the arguments */ for (i = 1; i < (unsigned int)argc; i++) {