Cleanup: warnings
This commit is contained in:
parent
8217fba8c5
commit
f55e92107a
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue