C++: Remove initialization of enum variable in DesignatorAST

The tool 'cplusplus-update-frontend' can't handle that and thus will
rewrite that class without this initialization.

The member is properly initialized at use.

Change-Id: I2c8c57be47b5fe953c2518254656e5e38ba90f08
Reviewed-by: Wang Hoi <wanghoi@126.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2014-06-17 12:08:31 -04:00
parent 78532ef516
commit f55cac32b1

View File

@@ -4556,7 +4556,6 @@ public:
public: public:
DesignatorAST() DesignatorAST()
: type(Invalid)
{} {}
virtual DesignatorAST *asDesignator() { return this; } virtual DesignatorAST *asDesignator() { return this; }