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
path: root/source
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
parent4ec61ff9f62ffe6ad26bba8a9c5f1250b9d464e8 (diff)
Cleanup: suspicious use of commas
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_handlers.c2
-rw-r--r--source/blender/makesrna/intern/rna_define.c2
-rw-r--r--source/blender/python/generic/bgl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 2c99c9be657..e6af3e36c1f 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -760,7 +760,7 @@ static void ui_apply_but_funcs_after(bContext *C)
if (after.opptr) {
/* free in advance to avoid leak on exit */
- opptr = *after.opptr,
+ opptr = *after.opptr;
MEM_freeN(after.opptr);
}
diff --git a/source/blender/makesrna/intern/rna_define.c b/source/blender/makesrna/intern/rna_define.c
index f4b2c15b304..36e2b9b0572 100644
--- a/source/blender/makesrna/intern/rna_define.c
+++ b/source/blender/makesrna/intern/rna_define.c
@@ -3314,7 +3314,7 @@ void RNA_def_property_duplicate_pointers(StructOrFunctionRNA *cont_, PropertyRNA
EnumPropertyRNA *eprop = (EnumPropertyRNA *)prop;
if (eprop->item) {
- earray = MEM_callocN(sizeof(EnumPropertyItem) * (eprop->totitem + 1), "RNA_def_property_store"),
+ earray = MEM_callocN(sizeof(EnumPropertyItem) * (eprop->totitem + 1), "RNA_def_property_store");
memcpy(earray, eprop->item, sizeof(EnumPropertyItem) * (eprop->totitem + 1));
eprop->item = earray;
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;
}