mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Unused variable.
This commit is contained in:
parent
33a90efc93
commit
a2c87eb899
5
server.c
5
server.c
@ -1,4 +1,4 @@
|
|||||||
/* $Id: server.c,v 1.235 2010-02-08 18:29:32 tcunha Exp $ */
|
/* $Id: server.c,v 1.236 2010-03-16 23:40:14 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -113,7 +113,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 *cause;
|
char *cause;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
u_int i;
|
u_int i;
|
||||||
@ -185,7 +185,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