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) )