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-gravity.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-gravity.c')
-rw-r--r-- | pango/pango-gravity.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pango/pango-gravity.c b/pango/pango-gravity.c index 7553a07e..603c3776 100644 --- a/pango/pango-gravity.c +++ b/pango/pango-gravity.c @@ -256,14 +256,10 @@ pango_gravity_get_for_script (PangoScript script, PangoGravityHint hint) { PangoScriptProperties props = get_script_properties (script); - gboolean vertical; - if (G_UNLIKELY (base_gravity == PANGO_GRAVITY_AUTO)) base_gravity = props.preferred_gravity; - vertical = PANGO_GRAVITY_IS_VERTICAL (base_gravity); - return pango_gravity_get_for_script_and_width (script, props.wide, base_gravity, hint); } |