summaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-09-10 12:21:02 -0300
committerGitHub <noreply@github.com>2016-09-10 12:21:02 -0300
commitfc61eb37ce004ecfa0656a46c68d111c68bb5c19 (patch)
tree0aa31fc3891596abca39042f27404f329e002b2d /drivers/unix/os_unix.cpp
parent026c7913cf6f38b948d66484d97d7841fa1c9f16 (diff)
parenta4674bda47ddeed7cc929bafdcd89b6bd156ee30 (diff)
Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
Diffstat (limited to 'drivers/unix/os_unix.cpp')
-rw-r--r--drivers/unix/os_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/unix/os_unix.cpp b/drivers/unix/os_unix.cpp
index fd515d6dd3..271cf302ef 100644
--- a/drivers/unix/os_unix.cpp
+++ b/drivers/unix/os_unix.cpp
@@ -390,7 +390,7 @@ Error OS_Unix::execute(const String& p_path, const List<String>& p_arguments,boo
if (p_blocking) {
int status;
- pid_t rpid = waitpid(pid,&status,0);
+ waitpid(pid,&status,0);
if (r_exitcode)
*r_exitcode=WEXITSTATUS(status);
} else {