Cleanup: suspicious use of commas

This commit is contained in:
2016-03-04 16:38:41 +11:00
parent 4ec61ff9f6
commit b8417501ab
4 changed files with 4 additions and 4 deletions

View File

@@ -1104,7 +1104,7 @@ setOrder(
xev.xclient.data.l[3] = 0;
xev.xclient.data.l[4] = 0;
root = RootWindow(m_display, m_visualInfo->screen),
root = RootWindow(m_display, m_visualInfo->screen);
eventmask = SubstructureRedirectMask | SubstructureNotifyMask;
XSendEvent(m_display, root, False, eventmask, &xev);

View File

@@ -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);
}

View File

@@ -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;

View File

@@ -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;
}