]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - plink.c
Hack around an oddity in X display names and xauth.
[PuTTY.git] / plink.c
diff --git a/plink.c b/plink.c
index b4f8e848d1f4c2ade9ba211b2f7c61780c7f3295..63d30c42e6b7985d3142f179e6d3799a0abbed93 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -62,8 +62,6 @@ void cmdline_error(char *p, ...)
     exit(1);
 }
 
-static char *password = NULL;
-
 HANDLE inhandle, outhandle, errhandle;
 DWORD orig_console_mode;
 
@@ -169,7 +167,6 @@ void try_output(int is_stderr)
 
 int from_backend(void *frontend_handle, int is_stderr, char *data, int len)
 {
-    HANDLE h = (is_stderr ? errhandle : outhandle);
     int osize, esize;
 
     assert(len > 0);