Quiet compile warning

This commit is contained in:
Seth Hillbrand 2021-01-05 09:16:38 -08:00
parent 72033e41f8
commit b19ccd819e
1 changed files with 1 additions and 1 deletions

View File

@ -990,7 +990,7 @@ void PCB_EDIT_FRAME::SetActiveLayer( PCB_LAYER_ID aLayer )
{
// TODO: this could be optimized if the pad painter is changed
// See https://gitlab.com/kicad/code/kicad/-/issues/6912
return true;
return !!pad;
}
return false;