From 30790a37efea5c6fed87ee0dd0d54c31ac9eea11 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Sat, 26 May 2007 17:28:45 +0000 Subject: * emacsclient.c (main): Avoid having a declaration after a statement. * sysdep.c: Comment out text after #endif. --- lib-src/emacsclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib-src/emacsclient.c') diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 0356735ab6d..0dc662dabef 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -1347,11 +1347,11 @@ main (argc, argv) if (tty) { + char *type = getenv ("TERM"); char *tty_name = NULL; #ifndef WINDOWSNT tty_name = ttyname (fileno (stdin)); #endif - char *type = getenv ("TERM"); if (! tty_name) { -- cgit v1.2.1