[pango/example-cflags: 2/2] cairotwisted: Fix a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/example-cflags: 2/2] cairotwisted: Fix a compiler warning
- Date: Fri, 10 Jun 2022 21:25:04 +0000 (UTC)
commit ed2279cd6a8c835ce9676cbd1eb9b868a6ca25ab
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jun 10 17:22:40 2022 -0400
cairotwisted: Fix a compiler warning
examples/cairotwisted.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/examples/cairotwisted.c b/examples/cairotwisted.c
index 1572c89a..6d1dadac 100644
--- a/examples/cairotwisted.c
+++ b/examples/cairotwisted.c
@@ -278,6 +278,7 @@ transform_path (cairo_path_t *path, transform_point_func_t f, void *closure)
case CAIRO_PATH_CURVE_TO:
f (closure, &data[3].point.x, &data[3].point.y);
f (closure, &data[2].point.x, &data[2].point.y);
+ G_GNUC_FALLTHROUGH;
case CAIRO_PATH_MOVE_TO:
case CAIRO_PATH_LINE_TO:
f (closure, &data[1].point.x, &data[1].point.y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]