On 04/25/2012 11:12 PM, Vinson Lee wrote:
Fix uninitialized pointer field defect reported by Coverity.

Signed-off-by: Vinson Lee<v...@freedesktop.org>
---
  src/glsl/opt_structure_splitting.cpp |    1 -
  1 file changed, 1 deletion(-)

diff --git a/src/glsl/opt_structure_splitting.cpp 
b/src/glsl/opt_structure_splitting.cpp
index 6dd228e..a21238d 100644
--- a/src/glsl/opt_structure_splitting.cpp
+++ b/src/glsl/opt_structure_splitting.cpp
@@ -201,7 +201,6 @@ public:
     variable_entry2 *get_splitting_entry(ir_variable *var);

     exec_list *variable_list;
-   void *mem_ctx;
  };

  variable_entry2 *

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to