From 0cc26a987c420f36c1d224907ad296d8e2c3a6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=BCller?= Date: Sat, 30 Sep 2023 21:04:35 -0700 Subject: [PATCH] remove unused code --- w2c2/c.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/w2c2/c.c b/w2c2/c.c index 8775cf3..c3fbcff 100644 --- a/w2c2/c.c +++ b/w2c2/c.c @@ -3746,27 +3746,6 @@ wasmCWriteFunctionImport( ); } -static -void -wasmCWriteInitFunctionImports( - FILE* file, - const WasmModule* module, - const char* moduleName, - bool pretty, - bool multipleModules -) { - const size_t functionImportCount = module->functionImports.length; - U32 functionIndex = 0; - for (; functionIndex < functionImportCount; functionIndex++) { - const WasmFunctionImport import = module->functionImports.imports[functionIndex]; - wasmCWriteInitImportAssignment(file, import.module, import.name, pretty); - fputc('(', file); - wasmCWriteFunctionImport(file, module, moduleName, import, false, pretty, multipleModules); - fputc(')', file); - wasmCWriteInitImportValue(file, import.module, import.name); - } -} - static void wasmCWriteInitGlobalImports(