First draft of Unicode support in pterm. It's pretty complete: it
[u/mdw/putty] / plink.c
diff --git a/plink.c b/plink.c
index b4f8e84..63d30c4 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);