mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Merge pull request #270 from VectorCamp/bugfix/cppcheck-redundantAssignment
Fix marked as false positive redundantAssignment cppcheck warnings
This commit is contained in:
commit
98bd92ddbc
@ -132,7 +132,7 @@ void ComponentRepeat::notePositions(GlushkovBuildState &bs) {
|
||||
posFirst = bs.getBuilder().numVertices();
|
||||
sub_comp->notePositions(bs);
|
||||
|
||||
u32 copies = m_max < NoLimit ? m_max : MAX(m_min, 1);
|
||||
u32 copies = (m_max < NoLimit) ? m_max : std::max(m_min, 1U);
|
||||
DEBUG_PRINTF("building %u copies of repeated region\n", copies);
|
||||
m_firsts.clear();
|
||||
m_lasts.clear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user