+2001-06-07 Ezra Peisach <epeisach@mit.edu>
+
+ * ktdefname.c (krb5_kt_default_name): Get rid of a variable that
+ was set in a conditional but never used.
+
2001-05-08 Danilo Almeida <dalmeida@mit.edu>
* locate_kdc.c (add_host_to_list): Initialize stack variable err
int namesize;
{
char *cp = 0;
- krb5_error_code code;
char *retval;
if (krb5_overridekeyname) {
if ((size_t) namesize < (strlen(cp)+1))
return KRB5_CONFIG_NOTENUFSPACE;
strcpy(name, cp);
- } else if (((code = profile_get_string(context->profile,
- "libdefaults",
- "default_keytab_name", NULL,
- NULL, &retval)) == 0) &&
+ } else if ((profile_get_string(context->profile,
+ "libdefaults",
+ "default_keytab_name", NULL,
+ NULL, &retval) == 0) &&
retval) {
if ((size_t) namesize < (strlen(retval)+1))
return KRB5_CONFIG_NOTENUFSPACE;