]> granicus.if.org Git - sudo/commitdiff
g/c unused auth_pw global
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 21 Aug 2010 14:02:29 +0000 (10:02 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 21 Aug 2010 14:02:29 +0000 (10:02 -0400)
--HG--
branch : 1.7

sudo.c
sudo.h

diff --git a/sudo.c b/sudo.c
index 72a63ff4c3d39848f76085887a002b5f06c01534..f6282d5272544953333233fb12b0f5c9ec0ca9b6 100644 (file)
--- a/sudo.c
+++ b/sudo.c
@@ -134,7 +134,7 @@ char **Argv, **NewArgv;
 char *prev_user;
 int user_closefrom = -1;
 struct sudo_user sudo_user;
-struct passwd *auth_pw, *list_pw;
+struct passwd *list_pw;
 struct interface *interfaces;
 int num_interfaces;
 int tgetpass_flags;
diff --git a/sudo.h b/sudo.h
index 06558898bd92a4f81d80cf54733299d36f4a53ca..fa7e56d9788480d38fb3b796ad3f05d363f6a31d 100644 (file)
--- a/sudo.h
+++ b/sudo.h
@@ -354,7 +354,7 @@ void zero_bytes             __P((volatile void *, size_t));
 /* Only provide extern declarations outside of sudo.c. */
 #ifndef _SUDO_MAIN
 extern struct sudo_user sudo_user;
-extern struct passwd *auth_pw, *list_pw;
+extern struct passwd *list_pw;
 
 extern int tgetpass_flags;
 extern int long_list;