Browse Source

Bernhard Fischer writes: remove unused variable __rcmd_errstr

Mike Frysinger 19 years ago
parent
commit
5477417e81
1 changed files with 0 additions and 2 deletions
  1. 0 2
      libc/inet/rpc/rcmd.c

+ 0 - 2
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;