[pitivi] coptimizations: Fix warnings
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] coptimizations: Fix warnings
- Date: Tue, 2 Aug 2016 01:12:13 +0000 (UTC)
commit 980d322c25ed1d4265dc68f57e2bead21a625d64
Author: Thibault Saunier <tsaunier gnome org>
Date: Mon Aug 1 16:04:42 2016 -0400
coptimizations: Fix warnings
pitivi/coptimizations/renderer.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/coptimizations/renderer.c b/pitivi/coptimizations/renderer.c
index a120f59..c655ca5 100644
--- a/pitivi/coptimizations/renderer.c
+++ b/pitivi/coptimizations/renderer.c
@@ -26,9 +26,7 @@ py_fill_surface (PyObject * self, PyObject * args)
float currentPixel;
int samplesInAccum;
float x = 0.;
- float lastX = 0.;
double accum;
- double lastAccum = 0.;
if (!PyArg_ParseTuple (args, "O!ii", &PyList_Type, &samples, &width, &height))
return NULL;
@@ -66,11 +64,9 @@ py_fill_surface (PyObject * self, PyObject * args)
if (currentPixel > 1.0) {
accum /= samplesInAccum;
cairo_line_to (ctx, x, height - accum);
- lastAccum = accum;
accum = 0;
currentPixel -= 1.0;
samplesInAccum = 0;
- lastX = x;
}
x += pixelsPerSample;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]