aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/CFRefCount.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-08-18 08:58:41 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-08-18 08:58:41 +0000
commit292a5c04694ebf0cfcf41f5afe7e3db27019260e (patch)
tree8b73bc5a0bd756129a476a681b954ef8f64eb00e /lib/Analysis/CFRefCount.cpp
parent50d5bc4e3b53eb8bb4ebf198f1213348a3fa0f38 (diff)
Remove unused parameter BugReporter due to previous patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CFRefCount.cpp')
-rw-r--r--lib/Analysis/CFRefCount.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 683be27cb2..c441e0e242 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -2140,11 +2140,9 @@ namespace {
return (const CFRefBug&) RangedBugReport::getBugType();
}
- virtual void getRanges(BugReporter& BR, const SourceRange*& beg,
- const SourceRange*& end) {
-
+ virtual void getRanges(const SourceRange*& beg, const SourceRange*& end) {
if (!getBugType().isLeak())
- RangedBugReport::getRanges(BR, beg, end);
+ RangedBugReport::getRanges(beg, end);
else
beg = end = 0;
}