Module: Mesa
Branch: mesa_7_6_branch
Commit: 76aa0c0fd3d972000cb6707a3834128cea2f9738
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=76aa0c0fd3d972000cb6707a3834128cea2f9738

Author: Brian Paul <[email protected]>
Date:   Wed Nov  4 17:42:01 2009 -0700

mesa: silence warning from gcc 4.4.1

---

 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 91d8d15..46ffb92 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);

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to