[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:
Haojian Wu 2016-09-01 12:17:28 +00:00
parent 4f863d75f4
commit 25df3b853b
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ def main():
return
try:
selected = unique_headers[0]
inserted_header_infos = header_infos
if len(unique_headers) > 1:
selected = GetUserSelection(