diff lib-src/emacsclient.c @ 83628:7a881fda2c3a

* emacsclient.c (main): Avoid having a declaration after a statement. * sysdep.c: Comment out text after #endif.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 26 May 2007 17:28:45 +0000
parents 3b1222f7b28a
children 65663fcd2caa
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Fri May 25 02:47:22 2007 +0000
+++ b/lib-src/emacsclient.c	Sat May 26 17:28:45 2007 +0000
@@ -1347,11 +1347,11 @@
 
   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)
         {