[clangd] Fix unsued private field warning

This commit is contained in:
Kadir Cetinkaya 2021-02-13 13:20:15 +01:00
parent 642e9225c6
commit d25fbaa4a4
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
2 changed files with 1 additions and 2 deletions

View File

@ -127,7 +127,7 @@ ClangdServer::Options::operator TUScheduler::Options() const {
ClangdServer::ClangdServer(const GlobalCompilationDatabase &CDB,
const ThreadsafeFS &TFS, const Options &Opts,
Callbacks *Callbacks)
: CDB(CDB), TFS(TFS), Modules(Opts.Modules),
: CDB(CDB), TFS(TFS),
DynamicIdx(Opts.BuildDynamicSymbolIndex ? new FileIndex() : nullptr),
ClangTidyProvider(Opts.ClangTidyProvider),
WorkspaceRoot(Opts.WorkspaceRoot),

View File

@ -339,7 +339,6 @@ private:
const GlobalCompilationDatabase &CDB;
const ThreadsafeFS &TFS;
ModuleSet *Modules = nullptr;
Path ResourceDir;
// The index used to look up symbols. This could be: