Skip to content

Commit 92208d2

Browse files
authored
Merge pull request emscripten-forge#29 from martinRenou/less_verbose
Less verbose code
2 parents a67d64d + 8369909 commit 92208d2

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/helper.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ const initializeWasm = async (): Promise<IWasmModule | undefined> => {
1212
}
1313
});
1414

15-
console.log('WASM module initialized:', wasmModule);
16-
1715
return wasmModule;
1816
} catch (err) {
1917
console.error('Error initializing the WASM module:', err);

unpack.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ExtractedArchive* extract_archive(uint8_t* inputData, size_t inputSize, size_t*
2828
ExtractedArchive* result = (ExtractedArchive*)malloc(sizeof(ExtractedArchive));
2929
if (!result) {
3030
result->status = 0;
31-
result->error_message = strdup("Memory allocation error for ExtractedArchive.");
31+
result->error_message = strdup("Memory allocation error for ExtractedArchive.");
3232
return NULL;
3333
}
3434

@@ -51,7 +51,6 @@ ExtractedArchive* extract_archive(uint8_t* inputData, size_t inputSize, size_t*
5151
while (archive_read_next_header(archive, &entry) == ARCHIVE_OK) {
5252
const char* filename = archive_entry_pathname(entry);
5353
size_t entrySize = archive_entry_size(entry);
54-
printf("Extracting file: %s, size: %zu\n", filename, entrySize);
5554

5655
files = realloc(files, sizeof(FileData) * (files_count + 1));
5756
if (!files) {

0 commit comments

Comments
 (0)