Commit 846095fd authored by Diego Caballero's avatar Diego Caballero Committed by Scott Cyphers

[Warnings] Remove unused variable hso (#2678)

And its annoying warning.
parent b466027e
......@@ -571,13 +571,8 @@ void codegen::CompilerCore::configure_search_path()
void codegen::CompilerCore::load_headers_from_resource()
{
const std::string builtin_root = "";
HeaderSearchOptions& hso = m_compiler->getInvocation().getHeaderSearchOpts();
PreprocessorOptions& preprocessor_options = m_compiler->getInvocation().getPreprocessorOpts();
// for (const std::string& search_path : builtin_search_paths)
// {
// std::string builtin = builtin_root + search_path;
// hso.AddPath(builtin, clang::frontend::System, false, false);
// }
#ifdef _WIN32
for (const pair<std::string, vector<std::string>>& header_info : builtin_headers)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment