* t_imp_name.c (display_status_1): Remove variable that was set
authorEzra Peisach <epeisach@mit.edu>
Mon, 23 Jul 2001 21:47:11 +0000 (21:47 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 23 Jul 2001 21:47:11 +0000 (21:47 +0000)
        but never used.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13623 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/gssapi/ChangeLog
src/tests/gssapi/t_imp_name.c

index d99e85190ef7583dd4585d9f736971460d19f833..7f26f72e0e7a32ac1aa188b0530d871c8be89b56 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-23  Ezra Peisach  <epeisach@mit.edu>
+
+       * t_imp_name.c (display_status_1): Remove variable that was set
+       but never used.
+
 2000-07-28  Ezra Peisach  <epeisach@mit.edu>
 
        * t_imp_name.c: Profide full prototypes for internal functions.
index 4f732381446b4199274c75dfcd47cb54373b692a..6c90b72f8f62ed4c0775723354f4d8f7357aa03e 100644 (file)
@@ -123,7 +123,7 @@ 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;
 #ifdef GSSAPI_V2
      OM_uint32 msg_ctx;
@@ -133,7 +133,7 @@ static void display_status_1(m, code, type)
      
      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);
          if (display_file)