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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-09-26 01:51:09 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-09-26 01:59:38 +0400
commit32f83a298cc7f1e0d367a199866d3f6483f97675 (patch)
treefb2cbedf53be20d81bc44a5227d9a98d0c83b019 /intern/guardedalloc
parentaf069cd013e14642cecb46026f929cd5c897fd05 (diff)
Fix build errors in atomic ops and warning in aligned malloc on OS X.
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c
index 40f406d0ae2..be0a8aadf84 100644
--- a/intern/guardedalloc/intern/mallocn.c
+++ b/intern/guardedalloc/intern/mallocn.c
@@ -72,6 +72,7 @@ void *aligned_malloc(size_t size, size_t alignment)
* they work natively with SSE types with no further work.
*/
assert(alignment == 16);
+ (void)alignment;
return malloc(size);
#elif defined(__FreeBSD__) || defined(__NetBSD__)
void *result;