Patch: remove unused tty variable from session.c

Ben Lindstrom mouring at etoh.eviladmin.org
Tue Jul 16 03:45:46 EST 2002


Thanks, Applied.

On Mon, 15 Jul 2002, Darren Tucker wrote:

> 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.
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>




More information about the openssh-unix-dev mailing list