From f55cac32b11c8ca01ab8b5dd7af99d0e9c635e6e Mon Sep 17 00:00:00 2001 From: Nikolai Kosjar Date: Tue, 17 Jun 2014 12:08:31 -0400 Subject: [PATCH] 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 Reviewed-by: Erik Verbruggen --- src/libs/3rdparty/cplusplus/AST.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/libs/3rdparty/cplusplus/AST.h b/src/libs/3rdparty/cplusplus/AST.h index 41c630aea86..b31550453be 100644 --- a/src/libs/3rdparty/cplusplus/AST.h +++ b/src/libs/3rdparty/cplusplus/AST.h @@ -4556,7 +4556,6 @@ public: public: DesignatorAST() - : type(Invalid) {} virtual DesignatorAST *asDesignator() { return this; }