forked from OSchip/llvm-project
Silence tools/clang/lib/Tooling/CompilationDatabase.cpp:328:12: warning:
‘clang::tooling::JSONAnchorDest’ defined but not used [-Wunused-variable] from gcc 5.1. llvm-svn: 244312
This commit is contained in:
parent
b918a404c3
commit
ae55b483d4
|
@ -325,7 +325,7 @@ namespace tooling {
|
|||
// This anchor is used to force the linker to link in the generated object file
|
||||
// and thus register the JSONCompilationDatabasePlugin.
|
||||
extern volatile int JSONAnchorSource;
|
||||
static int JSONAnchorDest = JSONAnchorSource;
|
||||
int JSONAnchorDest = JSONAnchorSource;
|
||||
|
||||
} // end namespace tooling
|
||||
} // end namespace clang
|
||||
|
|
Loading…
Reference in New Issue