diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-27 04:47:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-27 04:47:56 +0300 |
commit | 8949eab27ef86a5c506da1c481438999bd5ebb47 (patch) | |
tree | 78c3a40fb5edd586640bf868364bd482864b87e1 /source/blender/editors/interface/interface_eyedropper_depth.c | |
parent | 2b64b4d90d677dd0055f966814df76486ebbd7dc (diff) |
Cleanup: warnings
Diffstat (limited to 'source/blender/editors/interface/interface_eyedropper_depth.c')
-rw-r--r-- | source/blender/editors/interface/interface_eyedropper_depth.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_eyedropper_depth.c b/source/blender/editors/interface/interface_eyedropper_depth.c index 6f272201085..311f718d950 100644 --- a/source/blender/editors/interface/interface_eyedropper_depth.c +++ b/source/blender/editors/interface/interface_eyedropper_depth.c @@ -76,10 +76,12 @@ typedef struct DepthDropper { char name[200]; } DepthDropper; -static void depthdropper_draw_cb(const struct bContext *C, ARegion *region, void *arg) +static void depthdropper_draw_cb(const struct bContext *UNUSED(C), + ARegion *UNUSED(region), + void *arg) { DepthDropper *ddr = arg; - eyedropper_draw_cursor_text_region(C, UNPACK2(ddr->name_pos), ddr->name); + eyedropper_draw_cursor_text_region(UNPACK2(ddr->name_pos), ddr->name); } static int depthdropper_init(bContext *C, wmOperator *op) |