From: Mike Frysinger Date: Thu, 1 Sep 2011 15:19:23 +0000 (-0400) Subject: Delete unused local variable X-Git-Tag: libtirpc-0-2-3-rc3~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a12332b4330553cf368d8d7affe72a85faa8499a;p=libtirpc Delete unused local variable rpc_soc.c: In function 'clntunix_create': rpc_soc.c:563:20: warning: variable 'nconf' set but not used [-Wunused-but-set-variable] Signed-off-by: Mike Frysinger Signed-off-by: Steve Dickson --- diff --git a/src/rpc_soc.c b/src/rpc_soc.c index c678429..63d2197 100644 --- a/src/rpc_soc.c +++ b/src/rpc_soc.c @@ -560,12 +560,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 (((svcaddr = malloc(sizeof(struct netbuf))) == NULL ) || ((svcaddr->buf = malloc(sizeof(struct sockaddr_un))) == NULL)) {