Silence warning from bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1aa7b427f2
commit
7c6c0acf9d
@ -337,7 +337,8 @@ protected: \
|
||||
/* returns NULL if not found */ \
|
||||
Node** GetNodePtr( const const_key_type& key ) const \
|
||||
{ \
|
||||
Node** node = &m_table[m_hasher( key ) % m_tableBuckets]; \
|
||||
size_t bucket = m_hasher( key ) % m_tableBuckets; \
|
||||
Node** node = &m_table[bucket]; \
|
||||
\
|
||||
while( *node ) \
|
||||
{ \
|
||||
@ -353,7 +354,8 @@ protected: \
|
||||
/* expressing it in terms of GetNodePtr is 5-8% slower :-( */ \
|
||||
Node* GetNode( const const_key_type& key ) const \
|
||||
{ \
|
||||
Node* node = m_table[m_hasher( key ) % m_tableBuckets]; \
|
||||
size_t bucket = m_hasher( key ) % m_tableBuckets; \
|
||||
Node* node = m_table[bucket]; \
|
||||
\
|
||||
while( node ) \
|
||||
{ \
|
||||
|
Loading…
Reference in New Issue
Block a user