Skip to content

Commit 06dbd82

Browse files
author
Naveen Kaje
committed
tools: build_api: remove redundant initialization and fix spelling
1 parent 1a8844e commit 06dbd82

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/build_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'):
417417
Positional Arguments:
418418
region_list - list of regions, which should contain filenames
419419
destination - file name to write all regions to
420-
padding - bytes to fill gapps with
420+
padding - bytes to fill gaps with
421421
"""
422422
merged = IntelHex()
423423
_, format = splitext(destination)
@@ -585,7 +585,6 @@ def build_project(src_paths, build_path, target, toolchain_name,
585585
copy_when_different(join(build_path, art), into_dir)
586586

587587
memap_instance = getattr(toolchain, 'memap_instance', None)
588-
memap_table = ''
589588
if memap_instance:
590589
# Write output to stdout in text (pretty table) format
591590
memap_table = memap_instance.generate_output('table', stats_depth)

0 commit comments

Comments
 (0)