* vfy_increds.c (krb5_verify_init_creds): Get rid of a variable
authorEzra Peisach <epeisach@mit.edu>
Thu, 7 Jun 2001 17:51:04 +0000 (17:51 +0000)
committerEzra Peisach <epeisach@mit.edu>
Thu, 7 Jun 2001 17:51:04 +0000 (17:51 +0000)
that was set in a conditional and never used afterwards.

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

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/vfy_increds.c

index 155f35a5f3a931475a7cba5a28618959f3e59a2e..5e9061939b79f3a6fdd2132dbdba82391b2db44a 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-07  Ezra Peisach  <epeisach@mit.edu>
+
+       * vfy_increds.c (krb5_verify_init_creds): Get rid of a variable
+       that was set in a conditional and never used afterwards.
+
 2001-06-01  Ken Raeburn  <raeburn@mit.edu>
 
        * init_ctx.c (get_profile_etype_list): Zero out multiple separator
index e3955174eb8a55dcaba1c43393eafc1152434bb4..9f9a257f2689ea4d3c7b5ffabd6b17d52c2d47a7 100644 (file)
@@ -103,17 +103,16 @@ krb5_verify_init_creds(krb5_context context,
        /* this means there is no keying material.  This is ok, as long as
          it is not prohibited by the configuration */
 
-       krb5_error_code ret2;
        int nofail;
 
        if (options &&
           (options->flags & KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL)) {
           if (options->ap_req_nofail)
               goto cleanup;
-       } else if ((ret2 = krb5_libdefault_boolean(context,
-                                                 &creds->client->realm,
-                                                 "verify_ap_req_nofail",
-                                                 &nofail))
+       } else if (krb5_libdefault_boolean(context,
+                                         &creds->client->realm,
+                                         "verify_ap_req_nofail",
+                                         &nofail)
                  == 0) {
           if (nofail)
               goto cleanup;