summaryrefslogtreecommitdiff
path: root/drivers/unix
diff options
context:
space:
mode:
authorJohan Manuel <johan.manuel@live.fr>2016-07-26 15:04:16 +0200
committerJohan Manuel <johan.manuel@live.fr>2016-08-13 13:21:35 +0200
commit046f94d3acc9d4f6465fe05ae8ee3fbd315b23d2 (patch)
tree62cd7fb3316947d7b253d44a34ae67067b6e304d /drivers/unix
parent8c0a050d49fdc7d922f6b854f0a11ae4bdf1462e (diff)
Remove some unused variables
Diffstat (limited to 'drivers/unix')
-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 {