Remove dead assignment in login(1).
authorfcambus <fcambus@openbsd.org>
Wed, 15 Aug 2018 19:38:47 +0000 (19:38 +0000)
committerfcambus <fcambus@openbsd.org>
Wed, 15 Aug 2018 19:38:47 +0000 (19:38 +0000)
commit9dfbac94e431c2a25fb1ea941b32878475b5816e
treee6963f8132eefe55492e76c7ec16446cef5abb62
parent7d35c1889bd67a4cf117c05efc99fb35e532b6dc
Remove dead assignment in login(1).

Since rev 1.36, the instance variable is never read again so we can
simply drop the else clause with the assignment.

While there, also drop the useless increment, as pointed out by tom@.

OK deraadt@ (previous version), millert@, tom@
usr.bin/login/login.c