quiet some pedantic gcc warnigns
This commit is contained in:
@@ -1560,7 +1560,7 @@ static int bmesh_cutvert(BMesh *bm, BMVert *v, BMVert ***vout, int *len)
|
||||
1) have v as one of the vertices
|
||||
2) are connected to e through face loop cycles
|
||||
assigning a unique index to that group of edges */
|
||||
while (e = BLI_array_pop(stack)) {
|
||||
while ((e = BLI_array_pop(stack))) {
|
||||
BLI_ghash_insert(visithash, e, SET_INT_IN_POINTER(maxindex));
|
||||
BM_SetIndex(e, maxindex);
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ void paintface_flush_flags(Object *ob)
|
||||
* - Mesh polys => Final derived mesh polys
|
||||
*/
|
||||
|
||||
if (index_array = CustomData_get_layer(&me->fdata, CD_ORIGINDEX)) {
|
||||
if ((index_array = CustomData_get_layer(&me->fdata, CD_ORIGINDEX))) {
|
||||
faces = me->mface;
|
||||
totface = me->totface;
|
||||
|
||||
@@ -102,7 +102,7 @@ void paintface_flush_flags(Object *ob)
|
||||
}
|
||||
}
|
||||
|
||||
if (index_array = CustomData_get_layer(&dm->polyData, CD_ORIGINDEX)) {
|
||||
if ((index_array = CustomData_get_layer(&dm->polyData, CD_ORIGINDEX))) {
|
||||
polys = dm->getPolyArray(dm);
|
||||
totpoly = dm->getNumFaces(dm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user