diff options
author | John Criswell <criswell@uiuc.edu> | 2011-08-18 01:19:05 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2011-08-18 01:19:05 +0000 |
commit | 3f0e2377609e916d77e192fff2badc7f6c05be4f (patch) | |
tree | 1d4bab944770039324f41abc4168fbf10cae5a4a /tools | |
parent | f56ea610ed63db0b8a8a9aca95222aa78ce293ee (diff) |
Fixed compilation warning on Linux by fixing the type of a return value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137913 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lto/LTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp index 8b4b57c445..cff6cb15a8 100644 --- a/tools/lto/LTOCodeGenerator.cpp +++ b/tools/lto/LTOCodeGenerator.cpp @@ -193,7 +193,7 @@ bool LTOCodeGenerator::compile_to_file(const char** name, std::string& errMsg) bool genResult = false; tool_output_file objFile(uniqueObjPath.c_str(), errMsg); if (!errMsg.empty()) - return NULL; + return true; genResult = this->generateObjectFile(objFile.os(), errMsg); objFile.os().close(); if (objFile.os().has_error()) { |