diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-08 06:14:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-08 06:14:13 +0300 |
commit | 3b726cfee82c134de24304b46d43c134c5752d0a (patch) | |
tree | b2aff7df97e3b51d12eb2ec38ed1631c8b19c19a /source/blender | |
parent | 0654c41b0c1b32e1aac42a9af059e54dcb60a1fa (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/interface_icons.c | 6 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_placement.c | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c index c1dd4fcb4e4..e7991d46918 100644 --- a/source/blender/editors/interface/interface_icons.c +++ b/source/blender/editors/interface/interface_icons.c @@ -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) { diff --git a/source/blender/editors/space_view3d/view3d_placement.c b/source/blender/editors/space_view3d/view3d_placement.c index f60df27d0f9..cecd1765a17 100644 --- a/source/blender/editors/space_view3d/view3d_placement.c +++ b/source/blender/editors/space_view3d/view3d_placement.c @@ -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) { |