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:
Diffstat (limited to 'source/blender/imbuf/intern/thumbs.c')
-rw-r--r--source/blender/imbuf/intern/thumbs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/thumbs.c b/source/blender/imbuf/intern/thumbs.c
index 0d2080b5f0a..61bc185eb8d 100644
--- a/source/blender/imbuf/intern/thumbs.c
+++ b/source/blender/imbuf/intern/thumbs.c
@@ -393,7 +393,7 @@ static ImBuf *thumb_create_ex(const char *file_path,
img = IMB_thumb_load_font(file_path, tsize, tsize);
break;
default:
- BLI_assert(0); /* This should never happen */
+ BLI_assert_unreachable(); /* This should never happen */
}
}
@@ -738,7 +738,7 @@ void IMB_thumb_path_unlock(const char *path)
if (thumb_locks.locked_paths) {
if (!BLI_gset_remove(thumb_locks.locked_paths, key, MEM_freeN)) {
- BLI_assert(0);
+ BLI_assert_unreachable();
}
BLI_condition_notify_all(&thumb_locks.cond);
}