Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2019-10-11 16:50:42 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-10-11 16:50:42 +0300
commitc5ecfd526e2abe88bee5e4b2e737578a2158eea5 (patch)
tree1bfa60a3d859692ca51f3484eea1b09f778de12b /source/blender/editors/interface/interface_eyedropper_gpencil_color.c
parent46e9fc9362366945f2cbfa71047d5bee251a85c0 (diff)
Cleanup: Remove unused variable
Diffstat (limited to 'source/blender/editors/interface/interface_eyedropper_gpencil_color.c')
-rw-r--r--source/blender/editors/interface/interface_eyedropper_gpencil_color.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/interface/interface_eyedropper_gpencil_color.c b/source/blender/editors/interface/interface_eyedropper_gpencil_color.c
index c6df0c9ed7b..02d4596e93c 100644
--- a/source/blender/editors/interface/interface_eyedropper_gpencil_color.c
+++ b/source/blender/editors/interface/interface_eyedropper_gpencil_color.c
@@ -68,7 +68,7 @@ typedef struct EyedropperGPencil {
} EyedropperGPencil;
/* Helper: Draw status message while the user is running the operator */
-static void eyedropper_gpencil_status_indicators(bContext *C, EyedropperGPencil *UNUSED(eye))
+static void eyedropper_gpencil_status_indicators(bContext *C)
{
char msg_str[UI_MAX_DRAW_STR];
BLI_strncpy(
@@ -268,8 +268,7 @@ static int eyedropper_gpencil_invoke(bContext *C, wmOperator *op, const wmEvent
/* Add modal temp handler. */
WM_event_add_modal_handler(C, op);
/* Status message. */
- EyedropperGPencil *eye = (EyedropperGPencil *)op->customdata;
- eyedropper_gpencil_status_indicators(C, eye);
+ eyedropper_gpencil_status_indicators(C);
return OPERATOR_RUNNING_MODAL;
}