diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-09-26 01:51:09 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-09-26 01:59:38 +0400 |
commit | 32f83a298cc7f1e0d367a199866d3f6483f97675 (patch) | |
tree | fb2cbedf53be20d81bc44a5227d9a98d0c83b019 /intern/guardedalloc | |
parent | af069cd013e14642cecb46026f929cd5c897fd05 (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.c | 1 |
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; |