summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-08-10 14:33:45 +0300
committerRichard Lowe <richlowe@richlowe.net>2017-11-16 15:29:31 -0500
commit0f1d26a485e4e2010058758dfd2d45d98e3482b0 (patch)
tree4d6c15bc04d05ccd7c01d38d238e0d166a2adcaa
parent6e573db1dd63b3b24579b7ceee32de57c994405c (diff)
downloadillumos-joyent-0f1d26a485e4e2010058758dfd2d45d98e3482b0.tar.gz
8772 kadmin/server: variable 'maj_stat' set but not used
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/cmd/krb5/kadmin/server/ovsec_kadmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/krb5/kadmin/server/ovsec_kadmd.c b/usr/src/cmd/krb5/kadmin/server/ovsec_kadmd.c
index d8f419f0c2..11fe918c06 100644
--- a/usr/src/cmd/krb5/kadmin/server/ovsec_kadmd.c
+++ b/usr/src/cmd/krb5/kadmin/server/ovsec_kadmd.c
@@ -209,13 +209,13 @@ static void display_status_1(m, code, type)
OM_uint32 code;
int type;
{
- OM_uint32 maj_stat, min_stat;
+ OM_uint32 min_stat;
gss_buffer_desc msg;
OM_uint32 msg_ctx;
msg_ctx = 0;
while (1) {
- maj_stat = gss_display_status(&min_stat, code,
+ (void) gss_display_status(&min_stat, code,
type, GSS_C_NULL_OID,
&msg_ctx, &msg);
fprintf(stderr, "GSS-API error %s: %s\n", m,