odyssey: remove unused field

This commit is contained in:
Dmitry Simonenko 2018-03-13 16:28:45 +03:00
parent 9fcf2a4a80
commit fb07550d06
2 changed files with 3 additions and 6 deletions

View File

@ -226,7 +226,6 @@ od_system_listen(od_system_t *system)
listen->port);
continue;
}
system->addr = ai;
/* listen resolved addresses */
if (host) {
@ -387,7 +386,6 @@ int od_system_init(od_system_t *system, od_instance_t *instance)
{
system->machine = -1;
system->instance = instance;
system->addr = NULL;
memset(&system->global, 0, sizeof(system->global));
return 0;
}

View File

@ -21,10 +21,9 @@ struct od_systemserver
struct od_system
{
int64_t machine;
struct addrinfo *addr;
od_global_t global;
od_instance_t *instance;
int64_t machine;
od_global_t global;
od_instance_t *instance;
};
int od_system_init(od_system_t*, od_instance_t*);