]> granicus.if.org Git - libtirpc/commitdiff
Delete unused local variable
authorMike Frysinger <vapier@gentoo.org>
Thu, 1 Sep 2011 15:19:23 +0000 (11:19 -0400)
committerSteve Dickson <steved@redhat.com>
Thu, 1 Sep 2011 15:19:23 +0000 (11:19 -0400)
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 <vapier@gentoo.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
src/rpc_soc.c

index c67842909d3610c452d525664f109dccf0b9186c..63d2197da3bb39052a8f8d340d3e6c5054cc8fd3 100644 (file)
@@ -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)) {