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:
Michael Wetherell 2005-12-01 14:30:30 +00:00
parent 1aa7b427f2
commit 7c6c0acf9d

View File

@ -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 ) \
{ \