Module: Mesa
Branch: master
Commit: 6af4c9006cddaf5b2c6ae39b9e5722d93e2ad44d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6af4c9006cddaf5b2c6ae39b9e5722d93e2ad44d

Author: Vinson Lee <[email protected]>
Date:   Wed Apr 25 22:49:12 2012 -0700

glsl: Remove unused member mem_ctx from ir_dead_functions_visitor.

Fix uninitialized pointer field defect reported by Coverity.

Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>

---

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

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 *

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

Reply via email to