Cleanup: quiet compiler warnings

This commit is contained in:
Campbell Barton 2021-11-08 14:51:00 +11:00
parent 34d289f98c
commit 8fa8e8bc37
2 changed files with 1 additions and 7 deletions

View File

@ -253,12 +253,6 @@ static void def_internal_vicon(int icon_id, VectorDrawFunc drawFunc)
/* Utilities */
static void viconutil_set_point(int pt[2], int x, int y)
{
pt[0] = x;
pt[1] = y;
}
static void vicon_keytype_draw_wrapper(
int x, int y, int w, int h, float alpha, short key_type, short handle_type)
{

View File

@ -1515,7 +1515,7 @@ static void preview_plane_free_fn(void *customdata)
ED_view3d_cursor_snap_deactive(snap_state);
}
static void WIDGETGROUP_placement_setup(const bContext *C, wmGizmoGroup *gzgroup)
static void WIDGETGROUP_placement_setup(const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
{
V3DSnapCursorState *snap_state = ED_view3d_cursor_snap_active();
if (snap_state) {