gl_engine: fix compile warnings 31/240431/1
authorHermet Park <chuneon.park@samsung.com>
Thu, 6 Aug 2020 07:57:38 +0000 (16:57 +0900)
committerHermet Park <chuneon.park@samsung.com>
Thu, 6 Aug 2020 07:57:38 +0000 (16:57 +0900)
this statement may fall through [-Werror=implicit-fallthrough=]

Change-Id: I3cfc9b51697e229a524f6f75e10b83715b06ce13

src/lib/gl_engine/tvgGlGeometry.cpp

index 5728b56..2202c3f 100644 (file)
@@ -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)