[cfe-commits] r65644 - /cfe/trunk/lib/AST/ASTContext.cpp

Mike Stump mrs at apple.com
Fri Feb 27 10:32:39 PST 2009


Author: mrs
Date: Fri Feb 27 12:32:39 2009
New Revision: 65644

URL: http://llvm.org/viewvc/llvm-project?rev=65644&view=rev
Log:
Silence warnings.

Modified:
    cfe/trunk/lib/AST/ASTContext.cpp

Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=65644&r1=65643&r2=65644&view=diff

==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Fri Feb 27 12:32:39 2009
@@ -290,8 +290,8 @@
 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)





More information about the cfe-commits mailing list