summaryrefslogtreecommitdiffstats
path: root/gst/smpte/paint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/smpte/paint.c')
-rw-r--r--gst/smpte/paint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/smpte/paint.c b/gst/smpte/paint.c
index 25f82ea4..7c2ba0dc 100644
--- a/gst/smpte/paint.c
+++ b/gst/smpte/paint.c
@@ -263,10 +263,9 @@ gst_smpte_paint_triangle_clock (guint32 * dest, gint stride,
{
gint i;
gint sign;
- gfloat angle, angle_s, angle_e;
+ gfloat angle, angle_e;
gfloat len1;
- angle_s = 0.0;
angle_e = acos (((x1 - x0) * (x2 - x0) + (y1 - y0) * (y2 - y0)) /
(sqrt ((x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0)) *
sqrt ((x2 - x0) * (x2 - x0) + (y2 - y0) * (y2 - y0))));