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:
parent
c6bfe62e21
commit
be8d787873
1 changed files with 2 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue