Cleanup: warnings

This commit is contained in:
Campbell Barton 2020-05-05 16:05:51 +10:00
parent 8217fba8c5
commit f55e92107a
2 changed files with 2 additions and 2 deletions

View File

@ -756,7 +756,7 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is
}
}
#else
UNUSED_VARS(is_label);
UNUSED_VARS(is_label, has_valid_context, has_valid_context_error);
#endif /* WITH_PYTHON */
if (data->fields_len == 0) {

View File

@ -367,7 +367,7 @@ void imm_draw_box_checker_2d_ex(float x1,
float y2,
const float color_primary[4],
const float color_secondary[4],
const int checker_size)
int checker_size)
{
uint pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);