Skip to content

Commit

Permalink
Really fix unused variable warnings in CIndex.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201285 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rnk committed Feb 13, 2014
1 parent 546b2d0 commit 6cadadf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/libclang/CIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6cadadf

Please sign in to comment.