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

Kenneth Graunke kenneth at whitecape.org
Thu Apr 26 00:27:16 PDT 2012


On 04/25/2012 11:12 PM, Vinson Lee wrote:
> Fix uninitialized pointer field defect reported by Coverity.
>
> Signed-off-by: Vinson Lee<vlee at freedesktop.org>
> ---
>   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 6dd228e..a21238d 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 *

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list