From 669e8f9df8cad188e2cd919061fd15b875ae445e Mon Sep 17 00:00:00 2001 From: brindosch Date: Sun, 7 May 2017 18:42:05 +0200 Subject: [PATCH] . --- libsrc/effectengine/Effect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsrc/effectengine/Effect.cpp b/libsrc/effectengine/Effect.cpp index 996daf4f..d4875c8d 100644 --- a/libsrc/effectengine/Effect.cpp +++ b/libsrc/effectengine/Effect.cpp @@ -669,7 +669,8 @@ PyObject* Effect::wrapImageDrawPie(PyObject *self, PyObject *args) int centerY = 0; int width = effect->_imageSize.width(); int height = effect->_imageSize.height(); - + PyObject * bytearray = nullptr; + bool argsOK = false; if ( argCount == 9 && PyArg_ParseTuple(args, "iiiiiiiii", ¢erX, ¢erY, &radius, &startAngle, &spanAngle, &r, &g, &b, &a) )