summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 10:22:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-02 14:48:53 +0100
commitcde0a09137058ffe83b1a2e587ad1140c83507dc (patch)
tree8ae1e801b3befec26c0eef3a7f40b06d48176db0 /comphelper
parent6b929c75bec9f928e4c97eb44d85510f0862ffe8 (diff)
coverity#1242878 Unused value
Change-Id: I123855003be3eb5ef6494cda8f42b4daeba1c272
Diffstat (limited to 'comphelper')
-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 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
{