From 84ecd95dba6cf03070432b3cc37d511d310d1325 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 31 Dec 2001 14:05:22 +0000 Subject: more irix -64 portability fixes (This used to be commit 65e857b36e170e3ecd78bf6695ae73342e9c04cd) --- source3/lib/account_pol.c | 10 ---------- source3/lib/charcnv.c | 1 - 2 files changed, 11 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/account_pol.c b/source3/lib/account_pol.c index 1b70d0ceb0..33579108fa 100644 --- a/source3/lib/account_pol.c +++ b/source3/lib/account_pol.c @@ -71,34 +71,24 @@ static char *decode_account_policy_name(int field) switch (field) { case AP_MIN_PASSWORD_LEN: return "min password length"; - break; case AP_PASSWORD_HISTORY: return "password history"; - break; case AP_USER_MUST_LOGON_TO_CHG_PASS: return "user must logon to change password"; - break; case AP_MAX_PASSWORD_AGE: return "maximum password age"; - break; case AP_MIN_PASSWORD_AGE: return "minimum password age"; - break; case AP_LOCK_ACCOUNT_DURATION: return "lockout duration"; - break; case AP_RESET_COUNT_TIME: return "reset count minutes"; - break; case AP_BAD_ATTEMPT_LOCKOUT: return "bad lockout attempt"; - break; case AP_TIME_TO_LOGOUT: return "disconnect time"; - break; default: return "undefined value"; - break; } } diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 256bd7e88c..481effbad5 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -213,7 +213,6 @@ convert: break; case E2BIG: goto convert; - break; case EILSEQ: reason="Illegal myltibyte sequence"; break; -- cgit