summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vega/arc.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-12-27 22:39:31 -0800
committerVinson Lee <[email protected]>2009-12-27 22:39:31 -0800
commitbf63b9d7a942bfbeef0b2b765bfc346c93de6fb7 (patch)
tree45d63c739b5d6eb77b8064ec3e91a70aef28ea58 /src/gallium/state_trackers/vega/arc.c
parent9d3092d1344cac0dafaa4b39d09d987812751e40 (diff)
st/vega: Silence compiler warnings.
Diffstat (limited to 'src/gallium/state_trackers/vega/arc.c')
-rw-r--r--src/gallium/state_trackers/vega/arc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vega/arc.c b/src/gallium/state_trackers/vega/arc.c
index db26e010a05..2d123408702 100644
--- a/src/gallium/state_trackers/vega/arc.c
+++ b/src/gallium/state_trackers/vega/arc.c
@@ -528,7 +528,6 @@ static INLINE int num_beziers_needed(struct arc *arc)
double threshold = 0.05;
VGboolean found = VG_FALSE;
int n = 1;
- int i;
double min_eta, max_eta;
min_eta = MIN2(arc->eta1, arc->eta2);
@@ -562,7 +561,6 @@ static void arc_to_beziers(struct arc *arc,
sin_eta_b, a_cos_eta_b, b_sin_eta_b, a_sin_eta_b,
b_cos_eta_b, x_b, y_b, x_b_dot, y_b_dot, lx, ly;
double t, alpha;
- int i;
{ /* always move to the start of the arc */
VGfloat x = arc->x1;