fix possible error: local variable 'c4core_amalgamated' referenced before assignment.

This commit is contained in:
hg-1099255210
2022-04-04 18:51:14 +08:00
parent c5e61616dc
commit eb929c7ac0

View File

@@ -43,6 +43,7 @@ def amalgamate_ryml(filename: str,
with_c4core: bool,
with_fastfloat: bool,
with_stl: bool):
c4core_amalgamated = ""
if with_c4core:
c4core_amalgamated = "src/c4/c4core_all.hpp"
am_c4core.amalgamate_c4core(f"{projdir}/{c4core_amalgamated}",