[cairo-commit] src/cairo-path-fixed.c

Andrea Canciani ranma42 at kemper.freedesktop.org
Mon Dec 13 02:10:19 PST 2010


 src/cairo-path-fixed.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5eadc286d87fa5bdd6bd5583db52742da9acfc70
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Fri Dec 10 11:21:26 2010 +0100

    path: Silence warnings
    
    gcc complains that:
    
    cairo-path-fixed.c:400: warning: inlining failed in call to
      '_cairo_path_fixed_drop_line_to': call is unlikely and code size
      would grow

diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c
index 66918a5..e3e273b 100644
--- a/src/cairo-path-fixed.c
+++ b/src/cairo-path-fixed.c
@@ -396,7 +396,7 @@ _cairo_path_fixed_penultimate_point (cairo_path_fixed_t *path)
     }
 }
 
-static inline void
+static void
 _cairo_path_fixed_drop_line_to (cairo_path_fixed_t *path)
 {
     cairo_path_buf_t *buf;


More information about the cairo-commit mailing list