From: Mike Stump Date: Fri, 27 Feb 2009 18:32:39 +0000 (+0000) Subject: Silence warnings. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e301007e31e14c8ff647288e1b8bd8dbf8a5fe4;p=clang Silence warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65644 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 53aaf51338..e4347d53db 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -290,8 +290,8 @@ unsigned ASTContext::getDeclAlignInBytes(const Decl *D) { std::pair ASTContext::getTypeInfo(const Type *T) { T = getCanonicalType(T); - uint64_t Width; - unsigned Align; + uint64_t Width=0; + unsigned Align=8; switch (T->getTypeClass()) { #define TYPE(Class, Base) #define ABSTRACT_TYPE(Class, Base)