summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2011-06-17 17:08:35 -0400
committerBehdad Esfahbod <behdad@behdad.org>2011-06-17 17:08:35 -0400
commita0296ccbdd570b66a36bf4226760aed312d020d4 (patch)
tree950a42281d637512381f147eccf01d4f05ffc19f /pango/pango-layout.c
parent26092c20b0936ff669513fbd64537123b99d036e (diff)
downloadpango-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.c7
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);