diff options
author | John McCall <rjmccall@apple.com> | 2011-06-17 06:50:50 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-06-17 06:50:50 +0000 |
commit | 71c482c76c67ad4240757c4e319ffdb72272b8ee (patch) | |
tree | 86de06141e7eda5c495b98f6111bbd7b8a87e428 /lib/Sema/SemaExprObjC.cpp | |
parent | 7acddacc921cd0b3f813443a8641eeddb82dfbd4 (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.cpp | 2 |
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); |