summaryrefslogtreecommitdiff
path: root/ucb/source/regexp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-07 11:47:56 +0200
committerNoel Grandin <noel@peralex.com>2016-09-07 11:47:56 +0200
commitbcbbf987771793030c7377f065f01f53c8f23ee3 (patch)
tree0112a024037158dbfdbcba386ff91fb9baa9a36d /ucb/source/regexp
parent21cbf3a33dbf06c119cc3c1f377b953fd97af94b (diff)
-Werror=unused-but-set-variable
Change-Id: I1a7ed38a95b06029d821b000324b2cc880df1ebb
Diffstat (limited to 'ucb/source/regexp')
-rw-r--r--ucb/source/regexp/regexp.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/ucb/source/regexp/regexp.cxx b/ucb/source/regexp/regexp.cxx
index 11ee8fa85f13..94ca028af92a 100644
--- a/ucb/source/regexp/regexp.cxx
+++ b/ucb/source/regexp/regexp.cxx
@@ -87,11 +87,6 @@ bool Regexp::matches(OUString const & rString) const
sal_Unicode const * p = pBegin;
if (matchStringIgnoreCase(&p, pEnd, m_aPrefix))
{
- sal_Unicode const * pBlock1End = pEnd;
-
- sal_Unicode const * pBlock2Begin = nullptr;
- sal_Unicode const * pBlock2End = nullptr;
-
switch (m_eKind)
{
case KIND_PREFIX:
@@ -116,9 +111,6 @@ bool Regexp::matches(OUString const & rString) const
&& (q == pEnd || *q == '/' || *q == '?' || *q == '#'))
{
bMatches = true;
- pBlock1End = p;
- pBlock2Begin = q;
- pBlock2End = pEnd;
break;
}