summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprObjC.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-06-17 06:50:50 +0000
committerJohn McCall <rjmccall@apple.com>2011-06-17 06:50:50 +0000
commit640767fff6554824ed16975cf1fee73257161e85 (patch)
treed6c1a7f95dcf650c34aa88f25e882c45063a619b /clang/lib/Sema/SemaExprObjC.cpp
parent33de427cd6cb506e29c50139bd966ce4577a1c98 (diff)
downloadbcm5719-llvm-640767fff6554824ed16975cf1fee73257161e85.tar.gz
bcm5719-llvm-640767fff6554824ed16975cf1fee73257161e85.zip
Initialize a couple of variables to shut GCC up.
llvm-svn: 133246
Diffstat (limited to 'clang/lib/Sema/SemaExprObjC.cpp')
-rw-r--r--clang/lib/Sema/SemaExprObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExprObjC.cpp b/clang/lib/Sema/SemaExprObjC.cpp
index 70eb2a3c727..5aff7347a6d 100644
--- a/clang/lib/Sema/SemaExprObjC.cpp
+++ b/clang/lib/Sema/SemaExprObjC.cpp
@@ -1586,7 +1586,7 @@ Sema::CheckObjCARCConversion(SourceRange castRange, QualType castType,
"converts between Objective-C and C pointers in -fobjc-arc"))
return;
- unsigned srcKind;
+ unsigned srcKind = 0;
switch (exprACTC) {
case ACTC_none:
srcKind = (castExprType->isPointerType() ? 1 : 0);
OpenPOWER on IntegriCloud