summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-10 11:06:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-10 12:50:21 +0100
commitedaee2352bcd470e150338c4c19722a6b26784fb (patch)
treef6fdcaeb400ca43c308c31e217f973467a548af7 /comphelper/source
parente18258411d8c69e41e480aeea71dda366108d59f (diff)
coverity#1242878 Unused value
Change-Id: I85bc3fffb2d350a13aeb30c75f0c2d0a7bc5e7a3
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/syntaxhighlight.cxx2
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' )