[Mesa-dev] [PATCH] glsl: Remove unused member mem_ctx from ir_dead_functions_visitor.

Vinson Lee vlee at freedesktop.org
Wed Apr 25 23:12:14 PDT 2012


Fix uninitialized pointer field defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee at 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 *
-- 
1.7.9.4



More information about the mesa-dev mailing list