kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40164
Re: Uninitialised ZONE_CONTAINER members
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
jp charras <jp.charras@xxxxxxxxxx>
-
Date:
Tue, 16 Apr 2019 18:38:09 +0200
-
In-reply-to:
<CAG1r56+sGSEBRtyg_WiKY-u=6uEU9nVNFyXR5C0ywzAZJQV=jA@mail.gmail.com>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
Le 16/04/2019 à 17:59, John Beard a écrit :
> Hi,
>
> The following members are not initialised in ZONE_CONTAINER's
> constructor, but they are accessed in the Setter functions:
>
> * m_ThermalReliefCopperBridge
> * m_ZoneMinThickness
>
> This was picked up with valgrind memcheck:
>
> valgrind --tool=memcheck qa/pcbnew_tools/qa_pcbnew_tools pcb_parser
> /tmp/ciaa_acc.kicad_pcb
>
> What would be sensible defaults here? 0?
>
> Cheers,
>
> John
>
Strange: these parameters come from ZONE_SETTINGS class, and they are
initialized in the ZONE_SETTINGS ctor ( min thickness 10mil,
m_ThermalReliefCopperBridge 20mils ).
--
Jean-Pierre CHARRAS
Follow ups
References