diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-05 10:24:14 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-05 10:24:14 +0100 |
commit | 5f878f917980cde145d4c385b0c0b66336c0f454 (patch) | |
tree | 732f3e349457da39442822b4134a6b78628497c5 | |
parent | 840dad765febf7b807bbb75e401c159a8c5c4dfe (diff) |
clip: Trivial compiler warning
cairo-clip.c: In function ‘_cairo_clip_path_reapply_clip_path_translate’:
cairo-clip.c:446: warning: suggest parentheses around assignment used as
truth value
-rw-r--r-- | src/cairo-clip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-clip.c b/src/cairo-clip.c index 0b511255..939eb1a9 100644 --- a/src/cairo-clip.c +++ b/src/cairo-clip.c @@ -443,7 +443,8 @@ _cairo_clip_path_reapply_clip_path_translate (cairo_clip_t *clip, clip_path->flags = other_path->flags; if (other_path->region != NULL) { clip_path->region = cairo_region_copy (other_path->region); - if (unlikely (status = clip_path->region->status)) { + status = clip_path->region->status; + if (unlikely (status)) { clip->path = clip->path->prev; _cairo_clip_path_destroy (clip_path); return status; |