From 0cb5b42d546538b455ac3bbe90b07e3eb67eb820 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 18 Apr 2009 18:11:00 +0200 Subject: Remove trivial unused variables detected by CLang static analyzer. --- gst/smpte/paint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gst/smpte/paint.c') 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)))); -- cgit