diff options
-rw-r--r-- | src/libcmd/cmd-profiles.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libcmd/cmd-profiles.cc b/src/libcmd/cmd-profiles.cc index 4b17d60c6..101064956 100644 --- a/src/libcmd/cmd-profiles.cc +++ b/src/libcmd/cmd-profiles.cc @@ -153,8 +153,6 @@ ProfileManifest::ProfileManifest(EvalState & state, const Path & profile) std::string name = elems.is_object() ? elem.key() - : e.contains("name") - ? static_cast<std::string>(e["name"]) : element.source ? getNameFromURL(parseURL(element.source->to_string())).value_or(element.identifier()) : element.identifier(); |