diff options
author | eadler <eadler@FreeBSD.org> | 2012-01-20 01:39:26 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-01-20 01:39:26 +0000 |
commit | 9386d0d604b43db6adc33e4d48dacd735ccff9fb (patch) | |
tree | 24bd69f6360b8cc149b495469acf8bcba69664ed /usr.sbin/bootparamd | |
parent | ba2979e943d8808202bdf45f252d99b531dac5cd (diff) | |
download | FreeBSD-src-9386d0d604b43db6adc33e4d48dacd735ccff9fb.zip FreeBSD-src-9386d0d604b43db6adc33e4d48dacd735ccff9fb.tar.gz |
Fix warning when compiling with gcc46:
error: variable 'clnt_stat' set but not used
Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits)
MFC after: 3 days
Diffstat (limited to 'usr.sbin/bootparamd')
-rw-r--r-- | usr.sbin/bootparamd/callbootd/callbootd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/bootparamd/callbootd/callbootd.c b/usr.sbin/bootparamd/callbootd/callbootd.c index 4ec16df..a0a4ef6 100644 --- a/usr.sbin/bootparamd/callbootd/callbootd.c +++ b/usr.sbin/bootparamd/callbootd/callbootd.c @@ -81,7 +81,6 @@ char **argv; long the_inet_addr; CLIENT *clnt; - enum clnt_stat clnt_stat; stat_whoami_res.client_name = cln; stat_whoami_res.domain_name = dmn; @@ -117,7 +116,7 @@ char **argv; } else exit(0); } else { - clnt_stat=clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS, + (void)clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS, BOOTPARAMPROC_WHOAMI, (xdrproc_t)xdr_bp_whoami_arg, (char *)&whoami_arg, @@ -140,7 +139,7 @@ char **argv; } else exit(0); } else { - clnt_stat=clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS, + (void)clnt_broadcast(BOOTPARAMPROG, BOOTPARAMVERS, BOOTPARAMPROC_GETFILE, (xdrproc_t)xdr_bp_getfile_arg, (char *)&getfile_arg, |