Merge branch '7.8'
[mesa.git] / src / gallium / state_trackers / vega / arc.c
index db26e010a052c9ab57b06b65c69a5f6255ed79c4..2d1234087024194fd3ca1459a30cb6d62f5a6bb9 100644 (file)
@@ -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;