Module: Mesa
Branch: glsl2
Commit: 4b1721eaf35ccb60d90850ab34a99d6ab1f89a05
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b1721eaf35ccb60d90850ab34a99d6ab1f89a05

Author: José Fonseca <[email protected]>
Date:   Sat Aug 14 14:40:39 2010 +0100

glsl: Silence gcc warning "control reaches end of non-void function".

---

 src/glsl/ir_clone.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp
index a726096..0a9e25a 100644
--- a/src/glsl/ir_clone.cpp
+++ b/src/glsl/ir_clone.cpp
@@ -335,7 +335,7 @@ ir_constant::clone(void *mem_ctx, struct hash_table *ht) 
const
    }
 
    default:
-      assert(!"Should not get here."); break;
+      assert(!"Should not get here.");
       return NULL;
    }
 }

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

Reply via email to