]> granicus.if.org Git - clang/commitdiff
Silence warnings.
authorMike Stump <mrs@apple.com>
Fri, 27 Feb 2009 18:32:39 +0000 (18:32 +0000)
committerMike Stump <mrs@apple.com>
Fri, 27 Feb 2009 18:32:39 +0000 (18:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65644 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/ASTContext.cpp

index 53aaf513382dbba1daae135a33d4713b4472980d..e4347d53dbaf07e6b00680e62998bb81904b5260 100644 (file)
@@ -290,8 +290,8 @@ unsigned ASTContext::getDeclAlignInBytes(const Decl *D) {
 std::pair<uint64_t, unsigned>
 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)