avoid 'unused variable' warnings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15289 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-05-29 21:44:30 +00:00
parent 6037e01bd0
commit b56ac0785a
2 changed files with 5 additions and 6 deletions

View File

@@ -600,9 +600,9 @@ user(char *name)
else
reply(530, "User %s access denied.", name);
} else {
#ifdef OTP
char ss[256];
#ifdef OTP
if (otp_challenge(&otp_ctx, name, ss, sizeof(ss)) == 0) {
reply(331, "Password %s for %s required.",
ss, name);
@@ -613,9 +613,9 @@ user(char *name)
reply(331, "Password required for %s.", name);
askpasswd = 1;
} else {
char *s;
#ifdef OTP
char *s;
if ((s = otp_error (&otp_ctx)) != NULL)
lreply(530, "OTP: %s", s);
#endif