summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-02-27 18:32:39 +0000
committerMike Stump <mrs@apple.com>2009-02-27 18:32:39 +0000
commit5b9a3d54b644271e092b7eb513858bb7937e2af8 (patch)
tree1273bfc44ab70dd965d3a1b1c712f83d6f7356d0
parent843cc34d8136ebd9a3d90f5f531fbeb4d014346b (diff)
downloadbcm5719-llvm-5b9a3d54b644271e092b7eb513858bb7937e2af8.tar.gz
bcm5719-llvm-5b9a3d54b644271e092b7eb513858bb7937e2af8.zip
Silence warnings.
llvm-svn: 65644
-rw-r--r--clang/lib/AST/ASTContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 53aaf513382..e4347d53dba 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -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)
OpenPOWER on IntegriCloud