summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/CFRefCount.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/StaticAnalyzer/Core/CFRefCount.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/StaticAnalyzer/Core/CFRefCount.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/CFRefCount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp b/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp
index 33118fa901d..70646e9f8bd 100644
--- a/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp
+++ b/clang/lib/StaticAnalyzer/Core/CFRefCount.cpp
@@ -3582,7 +3582,7 @@ void RetainReleaseChecker::checkPostStmt(const CastExpr *CE,
if (!BE)
return;
- ArgEffect AE;
+ ArgEffect AE = IncRef;
switch (BE->getBridgeKind()) {
case clang::OBC_Bridge:
OpenPOWER on IntegriCloud