Patch: remove unused tty variable from session.c

Darren Tucker dtucker at zip.com.au
Mon Jul 15 21:52:14 EST 2002


Hi.
	This was added just before 3.4p1 for passing to aix_usrinfo and is now
unused.

		-Daz.

Index: session.c
===================================================================
RCS file: /cvs/openssh/session.c,v
retrieving revision 1.210
diff -u -r1.210 session.c
--- session.c   4 Jul 2002 03:08:41 -0000       1.210
+++ session.c   15 Jul 2002 11:50:14 -0000
@@ -1159,8 +1159,6 @@
 void
 do_setusercontext(struct passwd *pw)
 {
-       char tty='\0';
-
 #ifdef HAVE_CYGWIN
        if (is_winnt) {
 #else /* HAVE_CYGWIN */

-- 
Darren Tucker (dtucker at zip.com.au)
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



More information about the openssh-unix-dev mailing list