summaryrefslogtreecommitdiff
path: root/pango/pango-markup.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-10-15 17:48:20 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-10-15 17:48:20 +0000
commit2d66e2fe68468ca3a5033b715f4daff237b9dfd3 (patch)
treeca2c1a5ca0e84299aa1dc62c2bd570d7be5abf1d /pango/pango-markup.c
parent840d74b4712b8b77035cd8abbf72b3f6fe2e2c8c (diff)
downloadpango-2d66e2fe68468ca3a5033b715f4daff237b9dfd3.tar.gz
Bug 481537 – compiler warning fixes Patch from Kjartan Maraas
2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 481537 – compiler warning fixes Patch from Kjartan Maraas * pango/break.c (pango_get_log_attrs): * pango/pango-attributes.c (pango_attr_list_insert_internal): * pango/pango-layout.c (process_item), (justify_clusters): * pango/pango-markup.c (span_parse_boolean): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pango-utils.c (pango_scan_int): * pango/pangocairo-font.c (_pango_cairo_font_install): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): * pango/pangoft2.c (load_fallback_face): * pango/pangox-fontmap.c (pango_x_get_coverage_win): * pango/pangox.c (itemize_string_foreach): Fix warnings. svn path=/trunk/; revision=2444
Diffstat (limited to 'pango/pango-markup.c')
-rw-r--r--pango/pango-markup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index 47fda6fc..af337e17 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -876,8 +876,6 @@ span_parse_boolean (const char *attr_name,
int line_number,
GError **error)
{
- const char *end = attr_val;
-
if (strcmp (attr_val, "true") == 0 ||
strcmp (attr_val, "yes") == 0 ||
strcmp (attr_val, "t") == 0 ||