From 640cc60bf4d0d073aa2f2f35dd893d279a8b2e39 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 31 Dec 2021 15:53:24 +0100 Subject: [PATCH] fix a compil warning. --- eeschema/sch_plugins/kicad/sch_sexpr_plugin.cpp | 1 + 1 file changed, 1 insertion(+) 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;