summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 08:51:59 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 08:51:59 +0000
commit5477417e8160ba6186067026d99a2e3ed2cd149d (patch)
tree302b3b739064ecff4ba11dbb1812d71714222b9c
parent4fef8c4dfaf0a0409948c39e4037c802b2a4ba56 (diff)
Bernhard Fischer writes: remove unused variable __rcmd_errstr
-rw-r--r--libc/inet/rpc/rcmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index 4d193e6a3..d88ace60e 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -369,7 +369,6 @@ int rresvport(int *alport)
libc_hidden_def(rresvport)
static int __check_rhosts_file = 1;
-static char *__rcmd_errstr;
int ruserok(rhost, superuser, ruser, luser)
const char *rhost, *ruser, *luser;
@@ -466,7 +465,6 @@ iruserfopen (char *file, uid_t okuser)
/* If there were any problems, quit. */
if (cp != NULL)
{
- __rcmd_errstr = cp;
if (res)
fclose (res);
return NULL;