Skip to content

Commit 92487d4

Browse files
aleokdevemilio
authored andcommitted
Fix NoneType error
1 parent bbffd83 commit 92487d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csmith-fuzzing/predicate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def run_bindgen(args, bindings):
219219
if not args.expect_bindgen_fail and child.returncode != 0:
220220
exit_1("Error: running `bindgen` failed", child)
221221

222-
for arg in args.bindings_grep:
222+
for arg in args.bindings_grep or []:
223223
pattern = regexp(arg)
224224
with open(bindings, mode="r") as f:
225225
if not contains(pattern, f):

0 commit comments

Comments
 (0)