diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 83876688..08afb967 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -621,10 +621,9 @@ convert_with_fallback (const char *str, const char *fallback) void load_config (void) { - struct stat st; char *cfg, *sp; const char *username, *realname; - int res, val, i, fh; + int res, val, i; #ifdef WIN32 char out[256]; #endif diff --git a/src/common/text.c b/src/common/text.c index 19bcf2fc..21ff2e55 100644 --- a/src/common/text.c +++ b/src/common/text.c @@ -251,7 +251,6 @@ scrollback_load (session *sess) { int fh; char *buf; - char line_buf[512 * 4]; char *text; time_t stamp; int lines; @@ -534,7 +533,6 @@ log_create_pathname (char *servname, char *channame, char *netname) { char fname[384]; char fnametime[384]; - char *fs; struct tm *tm; time_t now;