mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Nuke unused variable.
This commit is contained in:
parent
0ac6efa6d5
commit
509ce7f766
3
server.c
3
server.c
@ -114,7 +114,7 @@ int
|
|||||||
server_start(char *path)
|
server_start(char *path)
|
||||||
{
|
{
|
||||||
struct window_pane *wp;
|
struct window_pane *wp;
|
||||||
int pair[2], retval;
|
int pair[2];
|
||||||
char rpathbuf[MAXPATHLEN], *cause;
|
char rpathbuf[MAXPATHLEN], *cause;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
u_int i;
|
u_int i;
|
||||||
@ -167,7 +167,6 @@ server_start(char *path)
|
|||||||
server_fd = server_create_socket();
|
server_fd = server_create_socket();
|
||||||
server_client_create(pair[1]);
|
server_client_create(pair[1]);
|
||||||
|
|
||||||
retval = 0;
|
|
||||||
if (access(SYSTEM_CFG, R_OK) == 0)
|
if (access(SYSTEM_CFG, R_OK) == 0)
|
||||||
load_cfg(SYSTEM_CFG, NULL, &cfg_causes);
|
load_cfg(SYSTEM_CFG, NULL, &cfg_causes);
|
||||||
else if (errno != ENOENT) {
|
else if (errno != ENOENT) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user