diff options
-rw-r--r-- | include/clang/AST/Decl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index f9b9f35321..58eb723078 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -186,7 +186,7 @@ public: protected: VarDecl(Kind DK, SourceLocation L, IdentifierInfo *Id, QualType T, StorageClass SC, Decl *PrevDecl) - : ValueDecl(DK, L, Id, T, PrevDecl) { SClass = SC; } + : ValueDecl(DK, L, Id, T, PrevDecl), Init(0) { SClass = SC; } private: StorageClass SClass; Expr *Init; |