diff options
author | Stefan Metzmacher <metze@samba.org> | 2015-03-26 11:00:10 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2015-03-27 01:26:17 +0100 |
commit | 0dbf1d4c40ac2c6d3856a29738f1b12023d73578 (patch) | |
tree | 1f756c091ffd7d2b35caa80f723ebaca360609f7 /libcli/util | |
parent | 6e5d9c2a3d57576303cec75ee5806b5e8bf28c87 (diff) | |
download | samba-0dbf1d4c40ac2c6d3856a29738f1b12023d73578.tar.gz |
libcli/util: remove unused WERR_BAD_PASSWORD
The values are the same, but WERR_INVALID_PASSWORD matches the documentation.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'libcli/util')
-rw-r--r-- | libcli/util/doserr.c | 2 | ||||
-rw-r--r-- | libcli/util/werror.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c index 124d4c5801d..5076c37bbf8 100644 --- a/libcli/util/doserr.c +++ b/libcli/util/doserr.c @@ -43,7 +43,6 @@ static const struct werror_code_struct dos_errs[] = { "WERR_INVALID_PARAM", WERR_INVALID_PARAM }, { "WERR_NOT_SUPPORTED", WERR_NOT_SUPPORTED }, { "WERR_DUP_NAME", WERR_DUP_NAME }, - { "WERR_BAD_PASSWORD", WERR_BAD_PASSWORD }, { "WERR_NOMEM", WERR_NOMEM }, { "WERR_INVALID_NAME", WERR_INVALID_NAME }, { "WERR_OBJECT_PATH_INVALID", WERR_OBJECT_PATH_INVALID }, @@ -2706,7 +2705,6 @@ const struct werror_str_struct dos_err_strs[] = { { WERR_ACCESS_DENIED, "Access is denied" }, { WERR_INVALID_PARAM, "Invalid parameter" }, { WERR_NOT_SUPPORTED, "Not supported" }, - { WERR_BAD_PASSWORD, "A bad password was supplied" }, { WERR_NOMEM, "Out of memory" }, { WERR_NO_LOGON_SERVERS, "No logon servers found" }, { WERR_NO_SUCH_LOGON_SESSION, "No such logon session" }, diff --git a/libcli/util/werror.h b/libcli/util/werror.h index 7e13f5da949..c23de4c736a 100644 --- a/libcli/util/werror.h +++ b/libcli/util/werror.h @@ -98,7 +98,6 @@ typedef uint32_t WERROR; #define WERR_NO_SPOOL_SPACE W_ERROR(0x0000003E) #define WERR_NO_SUCH_SHARE W_ERROR(0x00000043) #define WERR_FILE_EXISTS W_ERROR(0x00000050) -#define WERR_BAD_PASSWORD W_ERROR(0x00000056) #define WERR_INVALID_PARAM W_ERROR(0x00000057) #define WERR_CALL_NOT_IMPLEMENTED W_ERROR(0x00000078) #define WERR_SEM_TIMEOUT W_ERROR(0x00000079) |