Fix compiler warning from discarded return value
Amend 53b7cb1bd73c773521f85c48ecd0c9daed14f7b3, match() is only used to provoke data races. Change-Id: Id20b11fedf7f20e74baab15bbb60c995c1a0c794 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user