summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-13 15:37:33 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-13 15:37:33 +0000
commit6dd3713be5786eb66372107fe12bcd2be548f090 (patch)
tree221752284996a8a30b14e81e2894c3a20e884a12 /tools
parentc0af3f00529eefd09c708e9ef6827f5199c4fd77 (diff)
downloadllvm-6dd3713be5786eb66372107fe12bcd2be548f090.tar.gz
llvm-6dd3713be5786eb66372107fe12bcd2be548f090.tar.bz2
llvm-6dd3713be5786eb66372107fe12bcd2be548f090.tar.xz
Get rid of compile warning by having llvmExecve return the result of its
call to executeProgram. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llee/StorageProxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llee/StorageProxy.c b/tools/llee/StorageProxy.c
index 05ffdf4b4c..e4f3fbb0d4 100644
--- a/tools/llee/StorageProxy.c
+++ b/tools/llee/StorageProxy.c
@@ -97,5 +97,5 @@ void* llvmReadFile(const char *key, size_t *size) {
*/
int llvmExecve(const char *filename, char *const argv[], char *const envp[]) {
char* cacheFile = computeCachedFile(filename);
- executeProgram(cacheFile, argv, envp);
+ return executeProgram(cacheFile, argv, envp);
}