forked from organicmaps/organicmaps
[search] Fix uninitialized variable bug.
This commit is contained in:
parent
8f84b430fb
commit
78d22adf9a
1 changed files with 2 additions and 0 deletions
|
@ -110,6 +110,8 @@ struct OffsetIntersecter
|
|||
MapType m_map;
|
||||
bool m_bFirstStep;
|
||||
|
||||
OffsetIntersecter() : m_bFirstStep(true) {}
|
||||
|
||||
void operator() (uint32_t offset, uint8_t rank)
|
||||
{
|
||||
uint16_t prevRankSum = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue