diff options
author | Søren Sandmann <ssp@redhat.com> | 2011-05-28 12:32:35 -0400 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-05-31 18:07:34 -0400 |
commit | 6aceb767aa6eea38ec3021263ca1d83aa9e0a3df (patch) | |
tree | 4b97a251b8848862ecd95051f79d458ce2b004db | |
parent | 4abe76432a59dec2e7978bfa4a01ad032178da0a (diff) |
demos: Comment out some unused variables
-rw-r--r-- | demos/alpha-test.c | 4 | ||||
-rw-r--r-- | demos/gradient-test.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/demos/alpha-test.c b/demos/alpha-test.c index 92c2081..54e30fa 100644 --- a/demos/alpha-test.c +++ b/demos/alpha-test.c @@ -40,10 +40,12 @@ main (int argc, char **argv) }; #endif +#if 0 pixman_point_fixed_t c_inner; pixman_point_fixed_t c_outer; pixman_fixed_t r_inner; pixman_fixed_t r_outer; +#endif for (i = 0; i < WIDTH * HEIGHT; ++i) alpha[i] = 0x4f00004f; /* pale blue */ @@ -69,6 +71,7 @@ main (int argc, char **argv) src, WIDTH * 4); +#if 0 c_inner.x = pixman_double_to_fixed (50.0); c_inner.y = pixman_double_to_fixed (50.0); c_outer.x = pixman_double_to_fixed (50.0); @@ -76,7 +79,6 @@ main (int argc, char **argv) r_inner = 0; r_outer = pixman_double_to_fixed (50.0); -#if 0 grad_img = pixman_image_create_conical_gradient (&c_inner, r_inner, stops, 2); #endif diff --git a/demos/gradient-test.c b/demos/gradient-test.c index fc84844..20f78a6 100644 --- a/demos/gradient-test.c +++ b/demos/gradient-test.c @@ -36,10 +36,12 @@ main (int argc, char **argv) }; #endif +#if 0 pixman_point_fixed_t c_inner; pixman_point_fixed_t c_outer; pixman_fixed_t r_inner; pixman_fixed_t r_outer; +#endif for (i = 0; i < WIDTH * HEIGHT; ++i) dest[i] = 0x4f00004f; /* pale blue */ @@ -49,6 +51,7 @@ main (int argc, char **argv) dest, WIDTH * 4); +#if 0 c_inner.x = pixman_double_to_fixed (50.0); c_inner.y = pixman_double_to_fixed (50.0); c_outer.x = pixman_double_to_fixed (50.0); @@ -58,6 +61,7 @@ main (int argc, char **argv) src_img = pixman_image_create_conical_gradient (&c_inner, r_inner, stops, 2); +#endif #if 0 src_img = pixman_image_create_conical_gradient (&c_inner, r_inner, stops, 2); |