summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-22 02:12:43 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-22 02:36:48 -0400
commit3dacd23ed30d8b906fe7774fa04bcc9103639955 (patch)
tree349f6337ce9c1a7d30cf5dc8d3cc5da1acf343ee
parentbab0a1f78abe6d808ad6beabc708eb6e0fe8b0c4 (diff)
downloadpango-3dacd23ed30d8b906fe7774fa04bcc9103639955.tar.gz
renderer: Silence compiler warnings
-rw-r--r--pango/pango-renderer.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index 21d09573..c91cb6ee 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -250,6 +250,8 @@ draw_underline (PangoRenderer *renderer,
rect->width,
3 * rect->height);
break;
+ default:
+ break;
}
}
@@ -274,6 +276,8 @@ draw_overline (PangoRenderer *renderer,
rect->width,
rect->height);
break;
+ default:
+ break;
}
}
@@ -388,6 +392,8 @@ add_underline (PangoRenderer *renderer,
current_rect->height = new_rect.height;
}
break;
+ default:
+ break;
}
if (renderer->underline == state->underline &&
@@ -439,6 +445,8 @@ add_overline (PangoRenderer *renderer,
current_rect->height = new_rect.height;
}
break;
+ default:
+ break;
}
if (renderer->priv->overline == state->overline &&