diff options
author | Bastien Montagne <bastien@blender.org> | 2021-10-20 15:56:18 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-10-20 15:56:18 +0300 |
commit | 3435ea014d42d1e223513f448cbdaba63864115c (patch) | |
tree | 875ab41e6907990225972ff105e6503c45ec2b51 /source/blender/editors/space_view3d | |
parent | dfb193f634bf2d4b6a28b458d7d23b79bcd45633 (diff) |
Cleanup: unused parameters, `nullptr` instead of `NULL` in cpp code...
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_cursor_snap.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_placement.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_cursor_snap.c b/source/blender/editors/space_view3d/view3d_cursor_snap.c index b3e010bb938..4457afcb67f 100644 --- a/source/blender/editors/space_view3d/view3d_cursor_snap.c +++ b/source/blender/editors/space_view3d/view3d_cursor_snap.c @@ -754,7 +754,7 @@ static bool v3d_cursor_snap_pool_fn(bContext *C) return true; } -static void v3d_cursor_snap_draw_fn(bContext *C, int x, int y, void *customdata) +static void v3d_cursor_snap_draw_fn(bContext *C, int x, int y, void *UNUSED(customdata)) { SnapCursorDataIntern *data_intern = &g_data_intern; V3DSnapCursorState *state = ED_view3d_cursor_snap_state_get(); diff --git a/source/blender/editors/space_view3d/view3d_placement.c b/source/blender/editors/space_view3d/view3d_placement.c index bffcdcfc320..09d3aa31811 100644 --- a/source/blender/editors/space_view3d/view3d_placement.c +++ b/source/blender/editors/space_view3d/view3d_placement.c @@ -694,8 +694,8 @@ static void draw_primitive_view(const struct bContext *C, ARegion *UNUSED(region * Use by both the operator and placement cursor. * \{ */ -static bool view3d_interactive_add_calc_snap(bContext *C, - const wmEvent *event, +static bool view3d_interactive_add_calc_snap(bContext *UNUSED(C), + const wmEvent *UNUSED(event), float r_co_src[3], float r_matrix_orient[3][3], bool *r_is_enabled, |