Fix compiler warning from discarded return value
Amend 53b7cb1bd7, match() is only used
to provoke data races.
Change-Id: Id20b11fedf7f20e74baab15bbb60c995c1a0c794
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
parent
89def082c6
commit
ec1ac2f1b2
|
|
@ -2132,7 +2132,7 @@ private:
|
|||
{
|
||||
yieldCurrentThread();
|
||||
for (int i = 0; i < MATCH_ITERATIONS; ++i)
|
||||
m_re.match(m_subject);
|
||||
(void)m_re.match(m_subject);
|
||||
}
|
||||
|
||||
const QRegularExpression &m_re;
|
||||
|
|
|
|||
Loading…
Reference in New Issue