glsl: Remove unused member mem_ctx from ir_dead_functions_visitor.
authorVinson Lee <vlee@freedesktop.org>
Thu, 26 Apr 2012 05:49:12 +0000 (22:49 -0700)
committerVinson Lee <vlee@freedesktop.org>
Fri, 27 Apr 2012 04:09:42 +0000 (21:09 -0700)
Fix uninitialized pointer field defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/opt_structure_splitting.cpp

index 6dd228e4e3f9df9920d787b84b3e67591d0309a6..a21238dd0aa32962902a68b11fef49b79b03461a 100644 (file)
@@ -201,7 +201,6 @@ public:
    variable_entry2 *get_splitting_entry(ir_variable *var);
 
    exec_list *variable_list;
-   void *mem_ctx;
 };
 
 variable_entry2 *