浏览代码

Bernhard Fischer writes: remove unused variable __rcmd_errstr

Mike Frysinger 19 年之前
父节点
当前提交
5477417e81
共有 1 个文件被更改,包括 0 次插入2 次删除
  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;