diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2011-06-17 17:08:35 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2011-06-17 17:08:35 -0400 |
commit | a0296ccbdd570b66a36bf4226760aed312d020d4 (patch) | |
tree | 950a42281d637512381f147eccf01d4f05ffc19f /pango/pango-layout.c | |
parent | 26092c20b0936ff669513fbd64537123b99d036e (diff) | |
download | pango-a0296ccbdd570b66a36bf4226760aed312d020d4.tar.gz |
Bug 652841 - Various pieces of dead code found by gcc/clang static analyzer
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 40f92fae..e6ed96e1 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -4406,13 +4406,6 @@ pango_layout_get_empty_extents_at_index (PangoLayout *layout, if (start <= index && index < end) { - PangoFontDescription *base_font_desc; - - if (layout->font_desc) - base_font_desc = layout->font_desc; - else - base_font_desc = pango_context_get_font_description (layout->context); - if (!free_font_desc) { font_desc = pango_font_description_copy_static (font_desc); |