Skip to content

Commit 989f5c2

Browse files
authored
Remove unused argument. NFC (#16540)
1 parent ba9a23c commit 989f5c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

emcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3415,7 +3415,7 @@ def preprocess_wasm2js_script():
34153415
save_intermediate_with_wasm('symbolmap', wasm_target)
34163416

34173417
if settings.DEBUG_LEVEL >= 3 and settings.SEPARATE_DWARF and os.path.exists(wasm_target):
3418-
building.emit_debug_on_side(wasm_target, settings.SEPARATE_DWARF)
3418+
building.emit_debug_on_side(wasm_target)
34193419

34203420
if settings.WASM2C:
34213421
wasm2c.do_wasm2c(wasm_target)

tools/building.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ def strip(infile, outfile, debug=False, producers=False):
12321232
# debug into as a file on the side
12331233
# TODO: emit only debug sections in the side file, and not the entire
12341234
# wasm as well
1235-
def emit_debug_on_side(wasm_file, wasm_file_with_dwarf):
1235+
def emit_debug_on_side(wasm_file):
12361236
# if the dwarf filename wasn't provided, use the default target + a suffix
12371237
wasm_file_with_dwarf = settings.SEPARATE_DWARF
12381238
if wasm_file_with_dwarf is True:

0 commit comments

Comments
 (0)