diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-06 16:04:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-07 08:49:50 +0300 |
commit | e17a90074f116ac652c4f05b94ab7290db96ad15 (patch) | |
tree | d345d7c5f89538182e939e7ca28ba0fd7d658aa4 /source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c | |
parent | 7f01329a84a6c8e90988e38cab7dd7f070d06795 (diff) |
WM: remove unused return values
Diffstat (limited to 'source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c')
-rw-r--r-- | source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c b/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c index e27cdf1c3bf..0c27e739fe7 100644 --- a/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c +++ b/source/blender/windowmanager/manipulators/intern/manipulator_library/primitive_manipulator.c @@ -174,7 +174,7 @@ static void manipulator_primitive_draw(const bContext *UNUSED(C), wmManipulator (manipulator->state & WM_MANIPULATOR_HIGHLIGHT)); } -static int manipulator_primitive_invoke( +static void manipulator_primitive_invoke( bContext *UNUSED(C), wmManipulator *manipulator, const wmEvent *UNUSED(event)) { ManipulatorInteraction *inter = MEM_callocN(sizeof(ManipulatorInteraction), __func__); @@ -183,8 +183,6 @@ static int manipulator_primitive_invoke( inter->init_scale = manipulator->scale; manipulator->interaction_data = inter; - - return OPERATOR_RUNNING_MODAL; } |