diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-04-11 08:31:44 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-04-11 08:31:44 +0000 |
commit | 2fc8c1c04664645ed397c034ee532c41d0f3941e (patch) | |
tree | 0aa9bbb653bbfc1eb68bfad4971c169fb6a7b216 /tests/dump-boundaries.c | |
parent | 834d6435a8c91dcbebc7665b84811725a74f8b54 (diff) | |
download | pango-2fc8c1c04664645ed397c034ee532c41d0f3941e.tar.gz |
Bug 337924 – cleanups for issues reported by various compilers Patch
2006-04-11 Behdad Esfahbod <behdad@gnome.org>
Bug 337924 – cleanups for issues reported by various compilers
Patch from Kjartan Maraas.
* examples/viewer-x.c (update):
* modules/arabic/arabic-fc.c (fallback_shape),
(arabic_engine_shape):
* modules/basic/basic-fc.c (fallback_shape), (basic_engine_shape):
* modules/basic/basic-x.c:
* modules/hangul/hangul-fc.c:
* modules/hebrew/hebrew-fc.c (hebrew_engine_shape):
* modules/indic/indic-fc.c:
* modules/khmer/khmer-fc.c:
* modules/syriac/syriac-fc.c:
* modules/thai/thai-fc.c:
* modules/tibetan/tibetan-fc.c:
* pango/break.c:
* pango/modules.c:
* pango/opentype/ftglue.c (_hb_ftglue_face_goto_table):
* pango/pango-attributes.c (pango_attr_list_filter):
* pango/pango-engine.c:
* pango/pango-fontset.c:
* pango/pango-layout.c (pango_layout_set_text),
(pango_layout_xy_to_index), (pango_layout_get_cursor_pos):
* pango/pango-markup.c (text_handler):
* pango/pango-utils.c (read_alias_file):
* pango/pangocairo-fcfont.c (G_DEFINE_TYPE_WITH_CODE):
* pango/pangocairo-fcfontmap.c (G_DEFINE_TYPE_WITH_CODE):
* pango/pangocairo-font.c (_pango_cairo_font_get_hex_box_info):
* pango/pangox-fontmap.c (pango_x_make_matching_xlfd):
* tests/dump-boundaries.c (fail):
Remove unused variables. Remove excess semicolon after DEFINE_TYPE
macros.
Diffstat (limited to 'tests/dump-boundaries.c')
-rw-r--r-- | tests/dump-boundaries.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dump-boundaries.c b/tests/dump-boundaries.c index 29efc522..ba4c343b 100644 --- a/tests/dump-boundaries.c +++ b/tests/dump-boundaries.c @@ -39,8 +39,10 @@ static void fail (const char *format, ...) str = g_strdup_vprintf (format, args); va_end (args); - fprintf (stderr, "Error: %s\n", format); + fprintf (stderr, "Error: %s\n", str); + g_free (str); + exit (1); } |