unused variable in init(8)

2016-02-01 Thread Jérémie Courrèges-Anglas

Not needed since rev. 1.55 and the introduction of crypt_checkpass().

ok?

Index: init.c
===
RCS file: /cvs/src/sbin/init/init.c,v
retrieving revision 1.57
diff -u -p -p -u -r1.57 init.c
--- init.c  23 Dec 2015 02:41:12 -  1.57
+++ init.c  1 Feb 2016 17:57:46 -
@@ -517,7 +517,7 @@ f_single_user(void)
struct passwd *pp;
static const char banner[] =
"Enter root password, or ^D to go multi-user\n";
-   char *clear, *password;
+   char *clear;
 #endif
 
/* Init shell and name */

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: unused variable in init(8)

2016-02-01 Thread Sebastien Marie
On Mon, Feb 01, 2016 at 08:05:42PM +0100, Jérémie Courrèges-Anglas wrote:
> 
> Not needed since rev. 1.55 and the introduction of crypt_checkpass().
> 
> ok?

I have the same in my tree.

ok semarie@

> Index: init.c
> ===
> RCS file: /cvs/src/sbin/init/init.c,v
> retrieving revision 1.57
> diff -u -p -p -u -r1.57 init.c
> --- init.c23 Dec 2015 02:41:12 -  1.57
> +++ init.c1 Feb 2016 17:57:46 -
> @@ -517,7 +517,7 @@ f_single_user(void)
>   struct passwd *pp;
>   static const char banner[] =
>   "Enter root password, or ^D to go multi-user\n";
> - char *clear, *password;
> + char *clear;
>  #endif
>  
>   /* Init shell and name */
> 
> -- 
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
> 
> 

-- 
Sebastien Marie