Remove unused variables. int -> size_t for lenghts.
This commit is contained in:
parent
7838f9dd89
commit
4b937b7019
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146446
@ -68,7 +68,8 @@ static char *
|
||||
parse(struct hostent *hp)
|
||||
{
|
||||
static char result[MAXHOSTNAMELEN * 2];
|
||||
int len,i;
|
||||
int i;
|
||||
size_t len;
|
||||
char addr[46];
|
||||
|
||||
if (hp == NULL)
|
||||
@ -346,7 +347,6 @@ yp_run_dnsq(void)
|
||||
{
|
||||
register struct circleq_dnsentry *q;
|
||||
char buf[sizeof(HEADER) + MAXPACKET];
|
||||
char retrybuf[MAXHOSTNAMELEN];
|
||||
struct sockaddr_in sin;
|
||||
socklen_t len;
|
||||
int rval;
|
||||
|
@ -106,7 +106,6 @@ yp_svc_run(void)
|
||||
#else
|
||||
int readfds;
|
||||
#endif /* def FD_SETSIZE */
|
||||
extern int forked;
|
||||
int fd_setsize = _rpc_dtablesize();
|
||||
struct timeval timeout;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user