mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
mesa: silence warning from gcc 4.4.1
This commit is contained in:
parent
60c328db2d
commit
76aa0c0fd3
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ _mesa_align_malloc(size_t bytes, unsigned long alignment)
|
|||
{
|
||||
#if defined(HAVE_POSIX_MEMALIGN)
|
||||
void *mem;
|
||||
|
||||
(void) posix_memalign(& mem, alignment, bytes);
|
||||
int err = posix_memalign(& mem, alignment, bytes);
|
||||
(void) err;
|
||||
return mem;
|
||||
#elif defined(_WIN32) && defined(_MSC_VER)
|
||||
return _aligned_malloc(bytes, alignment);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue