summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2012-11-03 19:11:09 -0700
committerArnavion <arnavion@gmail.com>2012-11-03 19:11:09 -0700
commita978e7b55b3cc198add2731b7baaf5588236bf08 (patch)
tree25001ad2074ed092f6144ed3a72c1ab6f309446d /src
parent5d9264aff6d7bcdd2f0595bfdf2a3a7a23330d46 (diff)
utf8-everywhere: Removed unreferenced local variables.
Diffstat (limited to 'src')
-rw-r--r--src/common/cfgfiles.c3
-rw-r--r--src/common/text.c2
2 files changed, 1 insertions, 4 deletions
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;