Cleanup: warnings

This commit is contained in:
2017-08-01 17:24:30 +10:00
parent 5709021f52
commit 6341380fbf
2 changed files with 1 additions and 1 deletions

View File

@@ -251,6 +251,7 @@ static int manipulator_select_invoke(bContext *C, wmOperator *op, const wmEvent
if (extend == false && deselect == false && toggle == false) { if (extend == false && deselect == false && toggle == false) {
wm_manipulatormap_deselect_all(mmap); wm_manipulatormap_deselect_all(mmap);
BLI_assert(msel->items == NULL && msel->len == 0); BLI_assert(msel->items == NULL && msel->len == 0);
UNUSED_VARS_NDEBUG(msel);
} }
if (highlight) { if (highlight) {

View File

@@ -770,7 +770,6 @@ static RAS_MeshSlot *current_ms;
static RAS_MeshObject *current_mesh; static RAS_MeshObject *current_mesh;
static int current_blmat_nr; static int current_blmat_nr;
static GPUVertexAttribs current_gpu_attribs; static GPUVertexAttribs current_gpu_attribs;
static Image *current_image;
static int CheckMaterialDM(int matnr, void *attribs) static int CheckMaterialDM(int matnr, void *attribs)
{ {
// only draw the current material // only draw the current material