From 6cadadf9bfc5221fdc2b8830a08d4d31c16fddcd Mon Sep 17 00:00:00 2001
From: Reid Kleckner <reid@kleckner.net>
Date: Thu, 13 Feb 2014 01:19:59 +0000
Subject: [PATCH] Really fix unused variable warnings in CIndex.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201285 91177308-0d34-0410-b5e6-96231b3b80d8
---
 tools/libclang/CIndex.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp
index babfc3adea8..d8cca44a0ea 100644
--- a/tools/libclang/CIndex.cpp
+++ b/tools/libclang/CIndex.cpp
@@ -2821,6 +2821,7 @@ clang_parseTranslationUnit(CXIndex CIdx,
   enum CXErrorCode Result = clang_parseTranslationUnit2(
       CIdx, source_filename, command_line_args, num_command_line_args,
       unsaved_files, num_unsaved_files, options, &TU);
+  (void)Result;
   assert((TU && Result == CXError_Success) ||
          (!TU && Result != CXError_Success));
   return TU;
-- 
GitLab