RTREE: avoid uninitialized variables

This commit is contained in:
Tomasz Włostowski 2018-02-16 17:35:16 +01:00
parent 5fef750b49
commit b05f95e7af
1 changed files with 1 additions and 2 deletions

View File

@ -153,7 +153,7 @@ public:
// NOTE: May want to return search result another way, perhaps returning the number of found elements here.
int cnt;
int cnt = 0;
Search( m_root, &rect, a_visitor, cnt );
@ -718,7 +718,6 @@ int RTREE_QUAL::Search( const ELEMTYPE a_min[NUMDIMS],
int foundCount = 0;
Search( m_root, &rect, foundCount, a_resultCallback, a_context );
return foundCount;
}