Commit: d98051aff2f682c9b8797aaed70bdac342f2e40a
Parent: 11bcbe3001a577edd018264b167554b5897abd80
Author: 0x766F6964
Date: Tue, 29 Oct 2019 09:13:09 -0600
session.c: remove a couple more unused constants
Diffstat:
2 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/links.h b/links.h
@@ -661,7 +661,6 @@ enum ses_sig {
S_NO_PROXY,
S_HTTP_ERROR = -2000000100,
- S_HTTP_100,
S_HTTP_204,
S_HTTPS_FWD_ERROR,
S_INVALID_CERTIFICATE,
@@ -680,13 +679,9 @@ enum ses_sig {
S_SOCKS_BAD_USERID,
S_SOCKS_UNKNOWN_ERROR,
- S_NO_SMB_CLIENT = -2000000600,
-
- S_WAIT_REDIR = -2000000700,
-
- S_UNKNOWN_ERROR = -2000000800,
-
- S_MAX = -2000000900
+ S_WAIT_REDIR,
+ S_UNKNOWN_ERROR,
+ S_MAX
};
struct status {
diff --git a/session.c b/session.c
@@ -76,7 +76,6 @@ static const struct s_msg_dsc msg_dsc[] = {
{S_LARGE_FILE, TEXT_(T_TOO_LARGE_FILE)},
{S_HTTP_ERROR, TEXT_(T_BAD_HTTP_RESPONSE)},
- {S_HTTP_100, TEXT_(T_HTTP_100)},
{S_HTTP_204, TEXT_(T_NO_CONTENT)},
{S_HTTPS_FWD_ERROR, TEXT_(T_HTTPS_FWD_ERROR)},
{S_INVALID_CERTIFICATE, TEXT_(T_INVALID_CERTIFICATE)},
@@ -94,8 +93,6 @@ static const struct s_msg_dsc msg_dsc[] = {
{S_SOCKS_BAD_USERID, TEXT_(T_SOCKS_BAD_USERID)},
{S_SOCKS_UNKNOWN_ERROR, TEXT_(T_SOCKS_UNKNOWN_ERROR)},
- {S_NO_SMB_CLIENT, TEXT_(T_NO_SMB_CLIENT)},
-
{S_NO_PROXY, TEXT_(T_NO_PROXY)},
{S_SMB_NOT_ALLOWED, TEXT_(T_SMB_NOT_ALLOWED)},
{S_FILE_NOT_ALLOWED, TEXT_(T_FILE_NOT_ALLOWED)},