Commit 984ca9ff authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by David Schulz
Browse files

GLSL: Initialize member pointer to 0



Task-number: QTCREATORBUG-10166

Change-Id: If57b0c95487bcfe2c11c25a847d26c0746c379b2
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 59859d03
......@@ -765,7 +765,7 @@ public:
};
StructTypeAST(List<Field *> *_fields)
: TypeAST(Kind_AnonymousStructType), fields(finish(_fields)) {}
: TypeAST(Kind_AnonymousStructType), name(0), fields(finish(_fields)) {}
StructTypeAST(const QString *_name, List<Field *> *_fields)
: TypeAST(Kind_StructType), name(_name), fields(finish(_fields)) {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment