From: Vinson Lee Date: Thu, 26 Apr 2012 05:49:12 +0000 (-0700) Subject: glsl: Remove unused member mem_ctx from ir_dead_functions_visitor. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6af4c9006cddaf5b2c6ae39b9e5722d93e2ad44d;p=mesa.git glsl: Remove unused member mem_ctx from ir_dead_functions_visitor. Fix uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Kenneth Graunke --- diff --git a/src/glsl/opt_structure_splitting.cpp b/src/glsl/opt_structure_splitting.cpp index 6dd228e4e3f..a21238dd0aa 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 *