Remove unused variables. int -> size_t for lenghts.

This commit is contained in:
charnier 2005-05-20 13:04:10 +00:00
parent 80a7e91a6f
commit 5dd180da44
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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;