Skip to content

Commit a7e7d19

Browse files
sbryngelsonCopilot
andauthored
Update toolchain/mfc/build.py
Co-authored-by: Copilot <[email protected]>
1 parent d42a0f7 commit a7e7d19

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

toolchain/mfc/build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ def get_compiler_info(self) -> str:
5151

5252
cache = pathlib.Path(build_dir) / "CMakeCache.txt"
5353
if not cache.exists():
54-
compiler = "unknown"
55-
return compiler
54+
return "unknown"
5655

5756
pat = re.compile(r"CMAKE_.*_COMPILER:FILEPATH=(.+)", re.IGNORECASE)
5857
compiler_name = ""

0 commit comments

Comments
 (0)