clang-analyzer-deadcode.DeadStores

Change-Id: Ifd016962dda31b312070745e7646879186d074e9
This commit is contained in:
Stephan Bergmann 2015-10-05 09:52:43 +02:00
parent e676f98f34
commit 9a1f09b93b

View File

@ -375,8 +375,7 @@ bool SyntaxHighlighter::Tokenizer::getNextToken(const sal_Unicode*& pos, /*out*/
sal_Unicode cPeek = *pos;
while( cPeek != 0 && !testCharFlags( cPeek, CHAR_EOL ) )
{
c = *pos++;
cPeek = *pos;
cPeek = *++pos;
}
reType = TT_COMMENT;