diff options
author | Karl Ramm <kcr@1ts.org> | 2009-04-30 17:08:38 +0000 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2009-04-30 17:08:38 +0000 |
commit | 71115288fd46ed53af54805b7a8d718029ca9455 (patch) | |
tree | 118e7d2fe104680680e4371ba033fe61ae9363aa /lib/ZExpnRlm.c | |
parent | aab602b420a61bc5d8c7b06da7f50b0561a32cc9 (diff) |
fix some conditional-compilation issues that trip -Wunreachable-code
Diffstat (limited to 'lib/ZExpnRlm.c')
-rw-r--r-- | lib/ZExpnRlm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ZExpnRlm.c b/lib/ZExpnRlm.c index 36a9f4b..1b752a9 100644 --- a/lib/ZExpnRlm.c +++ b/lib/ZExpnRlm.c @@ -26,7 +26,7 @@ char *realm; expand[sizeof(expand)-1] = '\0'; result = krb5_free_host_realm(Z_krb5_ctx, list_realms); return expand; -#endif +#else #ifndef HAVE_KRB4 struct hostent *he; @@ -97,5 +97,6 @@ char *realm; return(krb_realm); } } -#endif /* KERBEROS */ +#endif /* HAVE_KRB4 */ +#endif } |