From c84ab4029212804bed42609657704501d41db220 Mon Sep 17 00:00:00 2001 From: huangxin Date: Tue, 7 Feb 2023 09:40:36 +0800 Subject: [PATCH] =?UTF-8?q?OCT=201.=20=E5=88=A0=E9=99=A4err=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E5=87=BD=E6=95=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- srcs/libs/misc/err.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/srcs/libs/misc/err.c b/srcs/libs/misc/err.c index 143d137..1e63832 100644 --- a/srcs/libs/misc/err.c +++ b/srcs/libs/misc/err.c @@ -22,12 +22,5 @@ const char *getErrorEnumDesc(int errCode) { if (errCode >= ARRAY_SIZE(g_enumStrVal) || errCode < 0) { return g_enumStrVal[ARRAY_SIZE(g_enumStrVal) - 1][0]; } - return g_enumStrVal[errCode][0]; -} - -const char *getErrorEnumDescripty(int errCode) { - if (errCode >= ARRAY_SIZE(g_enumStrVal) || errCode < 0) { - return g_enumStrVal[ARRAY_SIZE(g_enumStrVal) - 1][1]; - } return g_enumStrVal[errCode][1]; }