From 33298c4c7442bc6504076ea1f4eae1c0f5f38963 Mon Sep 17 00:00:00 2001 From: liutuantuan Date: Wed, 7 Aug 2024 10:53:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=BF=99=E4=B8=AA=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liutuantuan --- src/create_pcid.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/create_pcid.c b/src/create_pcid.c index 5a73c71..c2aa7e7 100644 --- a/src/create_pcid.c +++ b/src/create_pcid.c @@ -528,10 +528,6 @@ int32_t DecodePCID(char *inputFile, char *outDirPath) } freePcidJsonInfo.strJson = cJSON_Print(freePcidJsonInfo.jsonRootObj); - if (freePcidJsonInfo.strJson == NULL) { - PRINT_ERR("cJSON_Print failed to generate JSON string\n"); - return FreeAfterDecodePCID(freePcidJsonInfo, FREE_DECODE_PCID_ROOT_OUT, -1); - } const char outputFileName[] = "pcid.json"; ret = ConvertedContextSaveAsFile(outDirPath, outputFileName, freePcidJsonInfo.strJson, -- Gitee