Remove unused variables. int -> size_t for lenghts.
This commit is contained in:
parent
80a7e91a6f
commit
5dd180da44
@ -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