glsl: Initialize ast_aggregate_initializer::constructor_type.
Fixes "Uninitialized pointer field" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
+2
-1
@@ -307,7 +307,8 @@ private:
|
||||
class ast_aggregate_initializer : public ast_expression {
|
||||
public:
|
||||
ast_aggregate_initializer()
|
||||
: ast_expression(ast_aggregate, NULL, NULL, NULL)
|
||||
: ast_expression(ast_aggregate, NULL, NULL, NULL),
|
||||
constructor_type(NULL)
|
||||
{
|
||||
/* empty */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user