diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2015-12-01 07:32:35 +0000 | 
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2015-12-01 07:32:35 +0000 | 
| commit | fc67a9d06aba9444482aed0265c227130cc576a9 (patch) | |
| tree | f9d9eb1c19ab77a5348df2e640c1b602cb995aad | |
| parent | 9c30464e1bea6415a8a3ebac601f4239f813dd22 (diff) | |
Notes
| -rw-r--r-- | lib/libc/rpc/clnt_dg.c | 3 | ||||
| -rw-r--r-- | lib/libc/rpc/rpc_soc.c | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/xprintf_float.c | 3 | 
3 files changed, 1 insertions, 7 deletions
| diff --git a/lib/libc/rpc/clnt_dg.c b/lib/libc/rpc/clnt_dg.c index 5feab889154f..cebbaf9e344f 100644 --- a/lib/libc/rpc/clnt_dg.c +++ b/lib/libc/rpc/clnt_dg.c @@ -327,7 +327,7 @@ clnt_dg_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout)  	struct sockaddr *sa;  	sigset_t mask;  	sigset_t newmask; -	socklen_t inlen, salen; +	socklen_t salen;  	ssize_t recvlen = 0;  	int kin_len, n, rpc_lock_value;  	u_int32_t xid; @@ -520,7 +520,6 @@ get_reply:  				goto call_again_same_xid;  		}  	} -	inlen = (socklen_t)recvlen;  	/*  	 * now decode and validate the response diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c index fbcec05bf6d5..8d0f34ec5439 100644 --- a/lib/libc/rpc/rpc_soc.c +++ b/lib/libc/rpc/rpc_soc.c @@ -462,12 +462,10 @@ clntunix_create(raddr, prog, vers, sockp, sendsz, recvsz)  	u_int recvsz;  {  	struct netbuf *svcaddr; -	struct netconfig *nconf;  	CLIENT *cl;  	int len;  	cl = NULL; -	nconf = NULL;  	svcaddr = NULL;  	if ((raddr->sun_len == 0) ||  	   ((svcaddr = malloc(sizeof(struct netbuf))) == NULL ) || diff --git a/lib/libc/stdio/xprintf_float.c b/lib/libc/stdio/xprintf_float.c index b719aacc2fbd..ad17eb272032 100644 --- a/lib/libc/stdio/xprintf_float.c +++ b/lib/libc/stdio/xprintf_float.c @@ -168,7 +168,6 @@ __printf_render_float(struct __printf_io *io, const struct printf_info *pi, cons  	int realsz;		/* field size expanded by dprec, sign, etc */  	int dprec;		/* a copy of prec if [diouxX], 0 otherwise */  	char ox[2];		/* space for 0x; ox[1] is either x, X, or \0 */ -	int prsize;             /* max size of printed field */  	int ret;		/* return value accumulator */  	char *decimal_point;	/* locale specific decimal point */  	int n2;			/* XXX: for PRINTANDPAD */ @@ -344,8 +343,6 @@ here:  	if (ox[1])  		realsz += 2; -	prsize = pi->width > realsz ? pi->width : realsz; -  	/* right-adjusting blank padding */  	if (pi->pad != '0' && pi->left == 0)  		ret += __printf_pad(io, pi->width - realsz, 0); | 
