From d92fc13d8bd4885c51b08bf2ce7db0a2544b596a Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 6 Aug 2020 16:57:38 +0900 Subject: [PATCH] gl_engine: fix compile warnings this statement may fall through [-Werror=implicit-fallthrough=] Change-Id: I3cfc9b51697e229a524f6f75e10b83715b06ce13 --- src/lib/gl_engine/tvgGlGeometry.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/gl_engine/tvgGlGeometry.cpp b/src/lib/gl_engine/tvgGlGeometry.cpp index 5728b56..2202c3f 100644 --- a/src/lib/gl_engine/tvgGlGeometry.cpp +++ b/src/lib/gl_engine/tvgGlGeometry.cpp @@ -40,6 +40,7 @@ bool GlGeometry::decomposeOutline(const Shape &shape) case PathCommand::MoveTo: mPrimitives.push_back(GlPrimitive()); curPrimitive = &mPrimitives.back(); + __attribute__ ((fallthrough)); case PathCommand::LineTo: { if (curPrimitive) -- 2.7.4