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:
authorJacques Lucke <jacques@blender.org>2021-08-25 17:00:28 +0300
committerJacques Lucke <jacques@blender.org>2021-08-25 17:00:48 +0300
commit796035ad930383c26302ab6a57e8e6c90394603b (patch)
tree8704cc06e54346ca495a290b228236f00658287f /source/blender/imbuf
parent0fd1e6a5f43df8b0f5382c07975c0d031bbbb506 (diff)
Cleanup: else-after-return
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/thumbs_blend.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/imbuf/intern/thumbs_blend.c b/source/blender/imbuf/intern/thumbs_blend.c
index 085620cb785..471c1bde383 100644
--- a/source/blender/imbuf/intern/thumbs_blend.c
+++ b/source/blender/imbuf/intern/thumbs_blend.c
@@ -83,7 +83,5 @@ ImBuf *IMB_thumb_load_blend(const char *blen_path, const char *blen_group, const
if (blen_group && blen_id) {
return imb_thumb_load_from_blend_id(blen_path, blen_group, blen_id);
}
- else {
- return imb_thumb_load_from_blendfile(blen_path);
- }
+ return imb_thumb_load_from_blendfile(blen_path);
}