diff options
author | Andrea Canciani <ranma42@gmail.com> | 2011-07-03 18:40:08 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2011-07-05 10:00:13 +0200 |
commit | fe3ca9c36f15403d8d93263acb758100836ad3cb (patch) | |
tree | 59bcb743e86284f75ef42bd327f6fed701ce7ff5 /src/cairo-clip.c | |
parent | b6c972897b9d7cb898fb08363115e721a3ff758c (diff) | |
download | cairo-fe3ca9c36f15403d8d93263acb758100836ad3cb.tar.gz |
Remove conditional compilation of freed-pools
Conditional compilation was needed to avoid warnings:
cairo-clip.c:51: warning: ‘clip_path_pool’ defined but not used
cairo.c:181: warning: ‘context_pool’ defined but not used
They can be avoided by making sure that _freed_pool_reset(ptr)
actually consumes its argument. This has the pleasant side-effect that
forgetting to properly reset a freed-pool now results in a warning if
atomic ops are disabled/not available.
Diffstat (limited to 'src/cairo-clip.c')
-rw-r--r-- | src/cairo-clip.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cairo-clip.c b/src/cairo-clip.c index 9527c599c..d78a17c22 100644 --- a/src/cairo-clip.c +++ b/src/cairo-clip.c @@ -48,9 +48,7 @@ #include "cairo-composite-rectangles-private.h" #include "cairo-region-private.h" -#if HAS_FREED_POOL static freed_pool_t clip_path_pool; -#endif static cairo_clip_path_t * _cairo_clip_path_create (cairo_clip_t *clip) |