From a6fa78d03085ccf6c3bad478a80c9ff125f73358 Mon Sep 17 00:00:00 2001 From: Steven Mattera Date: Wed, 8 May 2019 21:29:33 -0400 Subject: [PATCH] Removed ability to set `ProductCode`. --- src/npdmtool.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/npdmtool.c b/src/npdmtool.c index f44651a..866ccec 100644 --- a/src/npdmtool.c +++ b/src/npdmtool.c @@ -282,12 +282,6 @@ int CreateNpdm(const char *json, void **dst, u32 *dst_size) { status = 0; goto NPDM_BUILD_END; } - - /* Parse product code. */ - const cJSON *product_code = cJSON_GetObjectItemCaseSensitive(npdm_json, "product_code"); - if (cJSON_IsString(product_code) && (product_code->valuestring != NULL)) { - strncpy(header.ProductCode, product_code->valuestring, sizeof(header.ProductCode) - 1); - } /* Parse main_thread_stack_size. */ u64 stack_size = 0;