Initialize variable in hash computation

This commit is contained in:
Ian McInerney 2020-07-15 22:58:05 +01:00
parent 9f20c61fa7
commit 4ee8ea1318
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ static inline size_t hash_board_item( const BOARD_ITEM* aItem, int aFlags )
size_t hash_eda( const EDA_ITEM* aItem, int aFlags )
{
size_t ret;
size_t ret = 0;
switch( aItem->Type() )
{