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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-05-22 23:49:02 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-05-22 23:49:02 +0300
commit44f91a9a18d6d942d958e7640f4d1c301d230150 (patch)
treee7e97a57a920f02e87b7539740590a5058f7614e /intern/cycles/util
parent6cc293a6d97a2f8277660613a1ced9b2688bd7c0 (diff)
parent9b2923380092c7e3c771d354f8938c5ca20bfd9d (diff)
Merge branch 'master' into blender2.8
Conflicts: source/blender/blenloader/intern/versioning_270.c
Diffstat (limited to 'intern/cycles/util')
-rw-r--r--intern/cycles/util/util_guarded_allocator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/util/util_guarded_allocator.h b/intern/cycles/util/util_guarded_allocator.h
index 5f9dcfb2481..1abcabd5294 100644
--- a/intern/cycles/util/util_guarded_allocator.h
+++ b/intern/cycles/util/util_guarded_allocator.h
@@ -50,9 +50,9 @@ public:
T *allocate(size_t n, const void *hint = 0)
{
+ (void)hint;
size_t size = n * sizeof(T);
util_guarded_mem_alloc(size);
- (void)hint;
if(n == 0) {
return NULL;
}