interfaces/inner_api/syscap_interface.c去掉inputPos判空

Signed-off-by: tongkai0808fh <tongkai5@huawei.com>
This commit is contained in:
tongkai0808fh
2024-07-01 11:15:44 +00:00
committed by Gitee
parent 9018c09874
commit 50cef2cf52
-4
View File
@@ -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') {