From 1cb7ee130048d57e177d9d3fdc6cdb7621bb5d74 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 31 May 2016 14:14:42 +0000 Subject: [PATCH] Avoid unused variable warning in release builds. llvm-svn: 271280 --- clang/lib/Format/Format.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index 33c3a7f6c080..b5e9369593fb 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -1528,6 +1528,7 @@ fixCppIncludeInsertions(StringRef Code, const tooling::Replacements &Replaces, bool Matched = IncludeRegex.match(IncludeDirective, &Matches); assert(Matched && "Header insertion replacement must have replacement text " "'#include ...'"); + (void)Matched; auto IncludeName = Matches[2]; int Category = Categories.getIncludePriority(IncludeName, /*CheckMainHeader=*/true);