aboutsummaryrefslogtreecommitdiff
path: root/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
commit71c482c76c67ad4240757c4e319ffdb72272b8ee (patch)
tree86de06141e7eda5c495b98f6111bbd7b8a87e428 /lib/Sema/SemaExprObjC.cpp
parent7acddacc921cd0b3f813443a8641eeddb82dfbd4 (diff)
Initialize a couple of variables to shut GCC up.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133246 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprObjC.cpp')
-rw-r--r--lib/Sema/SemaExprObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaExprObjC.cpp b/lib/Sema/SemaExprObjC.cpp
index 70eb2a3c72..5aff7347a6 100644
--- a/lib/Sema/SemaExprObjC.cpp
+++ b/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);