summaryrefslogtreecommitdiff
path: root/pango/pango-gravity.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-gravity.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-gravity.c')
-rw-r--r--pango/pango-gravity.c4
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);
}