summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-08-10 14:35:51 +0300
committerDan McDonald <danmcd@joyent.com>2017-11-14 11:23:10 -0500
commit2f8bbd9dee64b0f32e2f0e385b450b0d7dca7e32 (patch)
treed4d3adca06e71a66df8c4c2868d9caec5b70c485
parent4f39e64d5650b95d43882032f7d084ea6dcf110b (diff)
downloadillumos-joyent-2f8bbd9dee64b0f32e2f0e385b450b0d7dca7e32.tar.gz
8771 kadmin/kdcmgr: variable set but not used
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Alexander Pyhalov <apyhalov@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/cmd/krb5/kadmin/kdcmgr/klookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/cmd/krb5/kadmin/kdcmgr/klookup.c b/usr/src/cmd/krb5/kadmin/kdcmgr/klookup.c
index bee86b197a..e3e60820c3 100644
--- a/usr/src/cmd/krb5/kadmin/kdcmgr/klookup.c
+++ b/usr/src/cmd/krb5/kadmin/kdcmgr/klookup.c
@@ -52,7 +52,7 @@ main(int argc, char **argv)
{
unsigned char answer[NS_MAXMSG], *ansp = NULL, *end, a, b, c, d;
int len = 0, anslen, hostlen, nq, na, type, class;
- int ttl, priority, weight, port, size;
+ int ttl __unused, priority __unused, weight __unused, port, size;
char name[NS_MAXDNAME], *cp, *typestr = NULL;
char nbuf[INET6_ADDRSTRLEN];
struct __res_state stat;