From edaee2352bcd470e150338c4c19722a6b26784fb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 10 Oct 2014 11:06:47 +0100 Subject: coverity#1242878 Unused value Change-Id: I85bc3fffb2d350a13aeb30c75f0c2d0a7bc5e7a3 --- comphelper/source/misc/syntaxhighlight.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comphelper') diff --git a/comphelper/source/misc/syntaxhighlight.cxx b/comphelper/source/misc/syntaxhighlight.cxx index d0546bbf2788..76b72b148830 100644 --- a/comphelper/source/misc/syntaxhighlight.cxx +++ b/comphelper/source/misc/syntaxhighlight.cxx @@ -488,7 +488,7 @@ bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*out* // Read all numbers while( testCharFlags( *pos, CHAR_IN_OCT_NUMBER ) ) - c = *pos++; + ++pos; } // Hexadecimal? else if( *pos == 'h' || *pos == 'H' ) -- cgit