diff options
author | Brian Paul <[email protected]> | 2009-11-04 17:42:01 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-11-04 17:42:01 -0700 |
commit | 76aa0c0fd3d972000cb6707a3834128cea2f9738 (patch) | |
tree | c5f5b175f70dc5109f9eb8f13ea966c0101505cd /src/mesa | |
parent | 60c328db2d5f269267dac7cd64335ba005890fca (diff) |
mesa: silence warning from gcc 4.4.1
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/imports.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 91d8d156b8f..46ffb929b6c 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -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); |