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:
-rw-r--r--source/blender/blenlib/intern/listbase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/listbase.c b/source/blender/blenlib/intern/listbase.c
index d6c0219ea23..c9bf4976ae8 100644
--- a/source/blender/blenlib/intern/listbase.c
+++ b/source/blender/blenlib/intern/listbase.c
@@ -356,7 +356,7 @@ bool BLI_listbase_link_move(ListBase *listbase, void *vlink, int step)
Link *hook = link;
const bool is_up = step < 0;
- if (step == 0 || vlink == NULL) {
+ if (step == 0) {
return false;
}
BLI_assert(BLI_findindex(listbase, link) != -1);