diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 11:06:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-10 12:50:21 +0100 |
commit | edaee2352bcd470e150338c4c19722a6b26784fb (patch) | |
tree | f6fdcaeb400ca43c308c31e217f973467a548af7 /comphelper/source | |
parent | e18258411d8c69e41e480aeea71dda366108d59f (diff) |
coverity#1242878 Unused value
Change-Id: I85bc3fffb2d350a13aeb30c75f0c2d0a7bc5e7a3
Diffstat (limited to 'comphelper/source')
-rw-r--r-- | comphelper/source/misc/syntaxhighlight.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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' ) |