code cleanup: warnings

This commit is contained in:
Campbell Barton 2013-11-03 05:19:55 +00:00
parent 348addd7d2
commit ec32964194
2 changed files with 5 additions and 5 deletions

@ -172,9 +172,9 @@ void bmo_wireframe_exec(BMesh *bm, BMOperator *op)
BMIter itersub;
/* filled only with boundary verts */
BMVert **verts_src = MEM_mallocN(sizeof(BMVert **) * totvert_orig, __func__);
BMVert **verts_neg = MEM_mallocN(sizeof(BMVert **) * totvert_orig, __func__);
BMVert **verts_pos = MEM_mallocN(sizeof(BMVert **) * totvert_orig, __func__);
BMVert **verts_src = MEM_mallocN(sizeof(BMVert *) * totvert_orig, __func__);
BMVert **verts_neg = MEM_mallocN(sizeof(BMVert *) * totvert_orig, __func__);
BMVert **verts_pos = MEM_mallocN(sizeof(BMVert *) * totvert_orig, __func__);
/* will over-alloc, but makes for easy lookups by index to keep aligned */
BMVert **verts_boundary = use_boundary ?

@ -4262,7 +4262,7 @@ static void applyShrinkFatten(TransInfo *t, const int UNUSED(mval[2]))
}
}
BLI_snprintf(str + ofs, MAX_INFO_LEN - ofs, IFACE_(" or Alt) Even Thickness %s"),
WM_bool_as_string(t->flag & T_ALT_TRANSFORM));
WM_bool_as_string((t->flag & T_ALT_TRANSFORM) != 0));
/* done with header string */
@ -6946,7 +6946,7 @@ static void headerSeqSlide(TransInfo *t, float val[2], char str[MAX_INFO_LEN])
}
}
ofs += BLI_snprintf(str + ofs, MAX_INFO_LEN - ofs, IFACE_(" or Alt) Expand to fit %s"),
WM_bool_as_string(t->flag & T_ALT_TRANSFORM));
WM_bool_as_string((t->flag & T_ALT_TRANSFORM) != 0));
}
static void applySeqSlideValue(TransInfo *t, const float val[2])