From 6af4c9006cddaf5b2c6ae39b9e5722d93e2ad44d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 25 Apr 2012 22:49:12 -0700 Subject: [PATCH] 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 --- 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 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 * -- 2.30.2