aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaInit.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2009-12-13 01:37:04 +0000
committerChandler Carruth <chandlerc@gmail.com>2009-12-13 01:37:04 +0000
commit60cfcecaf48e4310339dcfbdb0e3f0e6d2853855 (patch)
treef5d9c872ae5774447d7ba0ba2398bc76588f722c /lib/Sema/SemaInit.cpp
parent821e2eb026f7e2b915d198cc453174dca8277b41 (diff)
Silence some release build warnings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaInit.cpp')
-rw-r--r--lib/Sema/SemaInit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp
index db5643898b..e8794b14bc 100644
--- a/lib/Sema/SemaInit.cpp
+++ b/lib/Sema/SemaInit.cpp
@@ -2115,6 +2115,7 @@ static OverloadingResult TryRefInitWithConversionFunction(Sema &S,
assert(!S.CompareReferenceRelationship(Initializer->getLocStart(),
T1, T2, DerivedToBase) &&
"Must have incompatible references when binding via conversion");
+ (void)DerivedToBase;
// Build the candidate set directly in the initialization sequence
// structure, so that it will persist if we fail.