mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-15 12:39:19 +00:00
[include-fixer] Fix an undefined variable exception in vim script when there is
only one candidate header. llvm-svn: 280359
This commit is contained in:
parent
4f863d75f4
commit
25df3b853b
@ -149,6 +149,7 @@ def main():
|
||||
return
|
||||
|
||||
try:
|
||||
selected = unique_headers[0]
|
||||
inserted_header_infos = header_infos
|
||||
if len(unique_headers) > 1:
|
||||
selected = GetUserSelection(
|
||||
|
Loading…
x
Reference in New Issue
Block a user