summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-09-17 19:34:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-09-17 19:34:55 -0400
commitd0558cfd936cd89ca879d2e7be0760d010ed8699 (patch)
tree35dbc66fd4f7b1819c7b20b3aff283c3e00c4c13
parent9de21d49c79b39b12a98571de40b4ccec9e30ad4 (diff)
downloadpango-d0558cfd936cd89ca879d2e7be0760d010ed8699.tar.gz
renderer: Fix static analysis warnings
Fix a warnings about garbage values that are showing up in the gtk static-scan build.
-rw-r--r--pango/pango-renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index d47ba13a..b3b70549 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -575,7 +575,7 @@ pango_renderer_draw_layout_line (PangoRenderer *renderer,
{
int x_off = 0;
int glyph_string_width;
- LineState state;
+ LineState state = { 0, };
GSList *l;
gboolean got_overall = FALSE;
PangoRectangle overall_rect;