From cde0a09137058ffe83b1a2e587ad1140c83507dc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Oct 2014 10:22:55 +0100 Subject: coverity#1242878 Unused value Change-Id: I123855003be3eb5ef6494cda8f42b4daeba1c272 --- comphelper/source/misc/syntaxhighlight.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper/source/misc/syntaxhighlight.cxx') diff --git a/comphelper/source/misc/syntaxhighlight.cxx b/comphelper/source/misc/syntaxhighlight.cxx index 8e02fa8f7be2..d0546bbf2788 100644 --- a/comphelper/source/misc/syntaxhighlight.cxx +++ b/comphelper/source/misc/syntaxhighlight.cxx @@ -499,7 +499,7 @@ bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*out* // Read all numbers while( testCharFlags( *pos, CHAR_IN_HEX_NUMBER ) ) - c = *pos++; + ++pos; } else { -- cgit