Remove unused variables. int -> size_t for lenghts.

This commit is contained in:
Philippe Charnier 2005-05-20 13:04:10 +00:00
parent 7838f9dd89
commit 4b937b7019
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=146446
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;