Initialize variable in hash computation
This commit is contained in:
parent
9f20c61fa7
commit
4ee8ea1318
|
@ -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 hash_eda( const EDA_ITEM* aItem, int aFlags )
|
||||||
{
|
{
|
||||||
size_t ret;
|
size_t ret = 0;
|
||||||
|
|
||||||
switch( aItem->Type() )
|
switch( aItem->Type() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue