diff --git a/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp b/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp index c860d0f4e0..27423443d8 100644 --- a/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp +++ b/eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp @@ -80,6 +80,7 @@ static void formatFill( OUTPUTFORMATTER* aFormatter, int aNestLevel, FILL_T aFil switch( aFillMode ) { + default: case FILL_T::NO_FILL: fillType = "none"; break; case FILL_T::FILLED_SHAPE: fillType = "outline"; break; case FILL_T::FILLED_WITH_BG_BODYCOLOR: fillType = "background"; break;