mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-08 05:17:31 +00:00
trivial: don't check for null/false returns on dist or subprojects
This commit is contained in:
parent
20fb170607
commit
23bead8a56
@ -225,6 +225,8 @@ def test_files():
|
|||||||
# test all C source files
|
# test all C source files
|
||||||
validator = ReturnValidator()
|
validator = ReturnValidator()
|
||||||
for fn in glob.glob("**/*.c", recursive=True):
|
for fn in glob.glob("**/*.c", recursive=True):
|
||||||
|
if fn.startswith("dist/") or fn.startswith("subprojects/"):
|
||||||
|
continue
|
||||||
validator.parse(fn)
|
validator.parse(fn)
|
||||||
for warning in validator.warnings:
|
for warning in validator.warnings:
|
||||||
print(warning)
|
print(warning)
|
||||||
|
Loading…
Reference in New Issue
Block a user