From: Søren Sandmann Pedersen <s...@redhat.com>

Neither were real problems, but GCC were complaining about them.
---
 pixman/pixman.c  |    3 +++
 test/composite.c |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pixman/pixman.c b/pixman/pixman.c
index 62b58b8..47ffdd6 100644
--- a/pixman/pixman.c
+++ b/pixman/pixman.c
@@ -613,6 +613,9 @@ compute_sample_extents (pixman_transform_t *transform,
     {
        int i;
 
+       /* Silence GCC */
+       tx1 = ty1 = tx2 = ty2 = 0;
+    
        for (i = 0; i < 4; ++i)
        {
            pixman_fixed_48_16_t tx, ty;
diff --git a/test/composite.c b/test/composite.c
index 0624cd3..b530a20 100644
--- a/test/composite.c
+++ b/test/composite.c
@@ -882,6 +882,7 @@ main (void)
                                                 mask.size? TRUE : FALSE);
                            break;
                         default:
+                           ok = FALSE; /* Silence GCC */
                             break;
                        }
                        group_ok = group_ok && ok;
-- 
1.7.1.1

_______________________________________________
Pixman mailing list
Pixman@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pixman

Reply via email to