From e372aa69494469d6c43c315b5c39355dece65dcf Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Thu, 26 Apr 2012 21:27:37 -0700 Subject: [PATCH] glsl: Remove unused member predicate from ir_dead_functions_visitor. Fix uninitialized pointer field defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Ian Romanick --- src/glsl/opt_dead_functions.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/glsl/opt_dead_functions.cpp b/src/glsl/opt_dead_functions.cpp index 017a28639b8..f503493957b 100644 --- a/src/glsl/opt_dead_functions.cpp +++ b/src/glsl/opt_dead_functions.cpp @@ -62,8 +62,6 @@ public: signature_entry *get_signature_entry(ir_function_signature *var); - bool (*predicate)(ir_instruction *ir); - /* List of signature_entry */ exec_list signature_list; void *mem_ctx; -- 2.30.2