Clang should not warn on code in clang that is only there to remove warnings.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2011-01-06 01:37:28 +00:00
Родитель b0ddf3aeb2
Коммит b7ec67a43d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -73,7 +73,7 @@ TokenRewriter::AddToken(const Token &T, TokenRefTy Where) {
bool InsertSuccess = TokenAtLoc.insert(std::make_pair(T.getLocation(),
Where)).second;
assert(InsertSuccess && "Token location already in rewriter!");
InsertSuccess = InsertSuccess;
(void)InsertSuccess;
return Where;
}