Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarruscag committed Jan 26, 2025
1 parent 9cfe08d commit 423e3a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions meson_scripts/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def init_submodules(
alt_name_meson = base_path + "meson"
alt_name_ninja = base_path + "ninja"
alt_name_mel = base_path + "mel"

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'alt_name_mel' is unnecessary as it is
redefined
before this value is used.
alt_name_mel = base_path + "fado"
alt_name_mel = base_path + "FADO"
alt_name_mpp = cur_dir + os.path.sep + "subprojects" + os.path.sep + "Mutationpp"
alt_name_coolprop = cur_dir + os.path.sep + "subprojects" + os.path.sep + "CoolProp"
alt_name_mlpcpp = cur_dir + os.path.sep + "subprojects" + os.path.sep + "MLPCpp"
Expand Down Expand Up @@ -165,7 +165,9 @@ def init_submodules(
if own_mel:
download_module(mel_name, alt_name_mel, github_repo_mel, sha_version_mel)
if own_fado:
download_module(fado_name, alt_name_fado, github_repo_fado, sha_version_fado)
download_module(
fado_name, alt_name_fado, github_repo_fado, sha_version_fado
)
if own_mlpcpp:
download_module(
mlpcpp_name, alt_name_mlpcpp, github_repo_mlpcpp, sha_version_mlpcpp
Expand Down

0 comments on commit 423e3a3

Please sign in to comment.