[Mesa-dev] [PATCH] glsl: Remove unused member predicate from ir_dead_functions_visitor.

Vinson Lee vlee at freedesktop.org
Thu Apr 26 22:17:25 PDT 2012


Fix uninitialized pointer field defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
 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 017a286..f503493 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;
-- 
1.7.9.4



More information about the mesa-dev mailing list