John, I committed your patch in the product branch r5315. Thank you for your contribution to KiCad.
Cheers, Wayne On 11/20/2014 7:33 PM, John Beard wrote: > Hi, > > Here is a tiny patch to defend against asserts in debug mode when the > footprint list in cvpcb is empty. The aFootprintName was coming in as > "" in that case. > > You could also check for an empty string at the call sites, but since > this function already can return null (and thus callers should be ready > for that), it think it makes sense to do it in here? > > Thanks, > > John > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

