OCT 1. 删除err多余函数代码
This commit is contained in:
parent
c6f76af116
commit
c84ab40292
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue