summaryrefslogtreecommitdiff
path: root/tools/warn/cpp_warn_patterns.py
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2019-09-04 12:40:13 -0700
committer Yifan Hong <elsk@google.com> 2019-09-16 16:30:35 -0700
commit8b727765111bde78d1b1174e0ed54db819605dd8 (patch)
treed18a46179a00d4df3a2e7b77be58fcbcd5af1938 /tools/warn/cpp_warn_patterns.py
parent979c9f3117a3ee1d963bba463c772f682e086343 (diff)
extract-kernel: Fix indexing
The original script always tries to extract from index 0 even if header is found in positive indices. Fix that. Also, continue to try other positions if previous run failed. Test: builds Bug: 139348603 Change-Id: Ia54fc709de9ae587fc64b59d94a1fa4ae669c14f
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions