Skip to content

Commit 5fe79b7

Browse files
rootlunixbochs
root
authored andcommitted
cflags should never be None
1 parent 129bf0e commit 5fe79b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/patcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Patcher:
1010
def __init__(self, binary, verbose=False, cflags=None, silent=False):
1111
self.bin = Binary(binary)
1212
self.bin.verbose = verbose
13-
self.bin.linker.cflags = cflags
13+
self.bin.linker.cflags = cflags or []
1414
self.patches = []
1515
self.patchfiles = []
1616
self.verbose = verbose

0 commit comments

Comments
 (0)