提交 549be924 编写于 作者: B Behdad Esfahbod 提交者: Behdad Esfahbod

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.
上级 719f9eaa
...@@ -54,6 +54,9 @@ do_indent (FILE *stream, int indent) ...@@ -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, ...)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册