From 58d772cb41b71dd3f5cf2bd4afb5781327ab4495 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Fri, 20 Sep 2013 16:23:30 -0700 Subject: [PATCH] glsl: Switch ast_type_qualifier to the non-zeroing allocator. All member variables of ast_type_qualifier are already being initialized from its implicitly defined constructor, it's not necessary to use rzalloc to allocate its memory. Reviewed-by: Kenneth Graunke --- src/glsl/ast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ast.h b/src/glsl/ast.h index 320e8ddd0e5..97905c6a6d1 100644 --- a/src/glsl/ast.h +++ b/src/glsl/ast.h @@ -346,7 +346,7 @@ enum { }; struct ast_type_qualifier { - DECLARE_RZALLOC_CXX_OPERATORS(ast_type_qualifier); + DECLARE_RALLOC_CXX_OPERATORS(ast_type_qualifier); union { struct { -- 2.30.2