aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/rpc/rpc_soc.c
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2015-02-18 03:33:17 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2015-02-18 03:33:17 +0000
commit2b1474fdde64956f15b38673738aca9073a26614 (patch)
treeb29a529881327b0bc1c2640683bb321bb8f458d1 /lib/libc/rpc/rpc_soc.c
parentb7a39e9e07874937e816d2bed42b918749957fc0 (diff)
downloadsrc-2b1474fdde64956f15b38673738aca9073a26614.tar.gz
src-2b1474fdde64956f15b38673738aca9073a26614.zip
libc: clean some set-but-not-used errors.
These were found by gcc 5.0 on Dragonfly BSD, however I made no attempt to silence the false positives. Obtained from: DragonFly (cf515c3a6f3a8964ad592e524442bc628f8ed63b)
Notes
Notes: svn path=/head/; revision=278932
Diffstat (limited to 'lib/libc/rpc/rpc_soc.c')
-rw-r--r--lib/libc/rpc/rpc_soc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c
index d7702f5913be..febc597c5d94 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 ) ||