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
This commit is contained in:
parent
de879bdae9
commit
30d3283b15
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230361
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user