Skip to content
Snippets Groups Projects
Commit 99a98eef authored by Asit Dhal's avatar Asit Dhal
Browse files

cmake_policy: Add check for return value of SetPolicyVersion

Fixes: #21557
parent 4621ffb0
No related branches found
No related tags found
No related merge requests found
......@@ -191,8 +191,7 @@ bool HandleVersionMode(std::vector<std::string> const& args,
return false;
}
status.GetMakefile().SetPolicyVersion(version_min, version_max);
return true;
return status.GetMakefile().SetPolicyVersion(version_min, version_max);
}
bool HandleGetWarningMode(std::vector<std::string> const& args,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment