From 50cef2cf52b710fc4d295493723b7843a8d8655c Mon Sep 17 00:00:00 2001 From: tongkai0808fh Date: Mon, 1 Jul 2024 11:15:44 +0000 Subject: [PATCH] =?UTF-8?q?interfaces/inner=5Fapi/syscap=5Finterface.c?= =?UTF-8?q?=E5=8E=BB=E6=8E=89inputPos=E5=88=A4=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tongkai0808fh --- interfaces/inner_api/syscap_interface.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/interfaces/inner_api/syscap_interface.c b/interfaces/inner_api/syscap_interface.c index 933f8ab..97575d2 100644 --- a/interfaces/inner_api/syscap_interface.c +++ b/interfaces/inner_api/syscap_interface.c @@ -243,10 +243,6 @@ bool DecodePrivateSyscap(char *input, char (**output)[SINGLE_SYSCAP_LEN], int *o *output = outputArray; inputPos = input; - if (inputPos == NULL) { - return false; - } - char buffer[SINGLE_FEAT_LEN] = {0}; char *bufferPos = buffer; while (*inputPos != '\0') {