Bug 469049 – Fix all compiler warnings

2008-12-25  Behdad Esfahbod  <behdad@gnome.org>

        Bug 469049 – Fix all compiler warnings

        * pango-view/viewer-pangocairo.c (render_callback):
        * pango/fonts.c (append_field), (pango_font_description_to_string):
        * pango/opentype/harfbuzz-dump.c:
        * pango/pango-bidi-type.c (pango_log2vis_get_embedding_levels):
        * pango/pango-coverage.c (pango_coverage_set):
        * pango/pango-markup.c (span_parse_func):
        * pango/pango-renderer.c
        (pango_renderer_default_draw_error_underline):
        * pango/pango-utils.c (pango_scan_string):
        * pango/pangocairo-render.c (pango_cairo_renderer_draw_trapezoid),
        (draw_error_underline), (pango_cairo_renderer_class_init):
        Fix all the remaining warnings.
This commit is contained in:
Behdad Esfahbod 2008-12-26 02:31:47 +00:00 committed by Behdad Esfahbod
parent 719f9eaa75
commit 549be924bc
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ do_indent (FILE *stream, int indent)
fprintf (stream, "%*s", indent * 3, ""); fprintf (stream, "%*s", indent * 3, "");
} }
#if __GNUC__ >= 3
__attribute__((__format__(__printf__, 3, 4)))
#endif
static void static void
dump (FILE *stream, int indent, const char *format, ...) dump (FILE *stream, int indent, const char *format, ...)
{ {