diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-08 04:02:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-08 06:37:55 +0300 |
commit | 586a3084677b03e314a906ffdac3560a24058409 (patch) | |
tree | b2b920b14e5408b09556c514814e82a188a1d38d /source/blender/editors | |
parent | f1b1a0745f53564ed8eedd90d2de41cdf1d72836 (diff) |
Cleanup: remove redundant return parenthesis
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/curve/editfont.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_file/filelist.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_outliner/outliner_tree.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/curve/editfont.c b/source/blender/editors/curve/editfont.c index 4529209b297..4147bb190e2 100644 --- a/source/blender/editors/curve/editfont.c +++ b/source/blender/editors/curve/editfont.c @@ -474,7 +474,7 @@ static int kill_selection(Object *obedit, int ins) /* 1 == new character */ ef->selstart = ef->selend = 0; } - return (direction); + return direction; } /** \} */ diff --git a/source/blender/editors/space_file/filelist.c b/source/blender/editors/space_file/filelist.c index 3ce80c11160..67ea22a7ef5 100644 --- a/source/blender/editors/space_file/filelist.c +++ b/source/blender/editors/space_file/filelist.c @@ -2212,7 +2212,7 @@ static bool file_is_blend_backup(const char *str) } } - return (retval); + return retval; } /* TODO: Maybe we should move this to BLI? diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c index 6eaed649c6c..4f50a18fc85 100644 --- a/source/blender/editors/space_outliner/outliner_tree.c +++ b/source/blender/editors/space_outliner/outliner_tree.c @@ -1288,7 +1288,7 @@ static int need_add_seq_dup(Sequence *seq) } p = p->next; } - return (1); + return 1; } static void outliner_add_seq_dup(SpaceOutliner *space_outliner, |