Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-03-04 08:38:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-03-04 08:38:41 +0300
commitb8417501abefa3332254564078ac7b93b875d7b8 (patch)
tree2e4a3c581c3a6501ea9a1312547918d3ec8b5827 /source/blender/python/generic
parent4ec61ff9f62ffe6ad26bba8a9c5f1250b9d464e8 (diff)
Cleanup: suspicious use of commas
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r--source/blender/python/generic/bgl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/bgl.c b/source/blender/python/generic/bgl.c
index cd6ef3f16a4..4bd2e9d8d62 100644
--- a/source/blender/python/generic/bgl.c
+++ b/source/blender/python/generic/bgl.c
@@ -3681,7 +3681,7 @@ static PyObject *Method_ShaderSource(PyObject *UNUSED(self), PyObject *args)
glShaderSource(shader, 1, (const char **)&source, NULL);
- return Py_INCREF(Py_None), Py_None;
+ Py_RETURN_NONE;
}