mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-25 02:55:15 +00:00
Fix clang reinitialization warning
This commit is contained in:
parent
ad4aa69be1
commit
150bd5dedc
12
src/iodine.c
12
src/iodine.c
@ -77,8 +77,6 @@ struct client_instance this;
|
|||||||
#define PRESET_STATIC_VALUES \
|
#define PRESET_STATIC_VALUES \
|
||||||
.conn = CONN_DNS_NULL, \
|
.conn = CONN_DNS_NULL, \
|
||||||
.send_ping_soon = 1, \
|
.send_ping_soon = 1, \
|
||||||
.downenc = ' ', \
|
|
||||||
.do_qtype = T_UNSET, \
|
|
||||||
.maxfragsize_up = 100, \
|
.maxfragsize_up = 100, \
|
||||||
.next_downstream_ack = -1, \
|
.next_downstream_ack = -1, \
|
||||||
.num_immediate = 1, \
|
.num_immediate = 1, \
|
||||||
@ -100,6 +98,8 @@ static struct client_instance preset_default = {
|
|||||||
.windowsize_up = 8,
|
.windowsize_up = 8,
|
||||||
.windowsize_down = 8,
|
.windowsize_down = 8,
|
||||||
.hostname_maxlen = 0xFF,
|
.hostname_maxlen = 0xFF,
|
||||||
|
.downenc = ' ',
|
||||||
|
.do_qtype = T_UNSET,
|
||||||
PRESET_STATIC_VALUES
|
PRESET_STATIC_VALUES
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -119,6 +119,8 @@ static struct client_instance preset_original = {
|
|||||||
.max_downstream_frag_size = MAX_FRAGSIZE,
|
.max_downstream_frag_size = MAX_FRAGSIZE,
|
||||||
.compression_down = 1,
|
.compression_down = 1,
|
||||||
.compression_up = 0,
|
.compression_up = 0,
|
||||||
|
.downenc = ' ',
|
||||||
|
.do_qtype = T_UNSET,
|
||||||
PRESET_STATIC_VALUES
|
PRESET_STATIC_VALUES
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -138,6 +140,8 @@ static struct client_instance preset_fast = {
|
|||||||
.windowsize_up = 64,
|
.windowsize_up = 64,
|
||||||
.windowsize_down = 32,
|
.windowsize_down = 32,
|
||||||
.hostname_maxlen = 0xFF,
|
.hostname_maxlen = 0xFF,
|
||||||
|
.downenc = ' ',
|
||||||
|
.do_qtype = T_UNSET,
|
||||||
PRESET_STATIC_VALUES
|
PRESET_STATIC_VALUES
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -301,8 +305,8 @@ main(int argc, char **argv)
|
|||||||
#ifndef WINDOWS32
|
#ifndef WINDOWS32
|
||||||
struct passwd *pw = NULL;
|
struct passwd *pw = NULL;
|
||||||
#endif
|
#endif
|
||||||
int choice;
|
int choice = -1;
|
||||||
int retval;
|
int retval = 0;
|
||||||
|
|
||||||
char *username = NULL;
|
char *username = NULL;
|
||||||
char *newroot = NULL;
|
char *newroot = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user