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:
authorCampbell Barton <ideasman42@gmail.com>2013-04-05 04:10:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-05 04:10:33 +0400
commitdee2f0c9ac8312ff71241d86591adb8f9b06c53a (patch)
tree1a426dea9e0d943932d17ec65bdf6d632e9db106 /source/blender/imbuf
parent54363910bc0d6a0e066d2508b216b5ad698f9185 (diff)
correction to previous warning cleanup, also quiet shadow-warning for thumbnail `size`
Diffstat (limited to 'source/blender/imbuf')
-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 51c6c2fc2d9..44358d8147e 100644
--- a/source/blender/imbuf/intern/thumbs.c
+++ b/source/blender/imbuf/intern/thumbs.c
@@ -285,8 +285,8 @@ ImBuf *IMB_thumb_create(const char *path, ThumbSize size, ThumbSource source, Im
/* exception, skip images over 100mb */
if (source == THB_SOURCE_IMAGE) {
- const size_t size = BLI_file_size(path);
- if (size != -1 && size > THUMB_SIZE_MAX) {
+ const size_t file_size = BLI_file_size(path);
+ if (file_size != -1 && file_size > THUMB_SIZE_MAX) {
// printf("file too big: %d, skipping %s\n", (int)size, path);
return NULL;
}