diff options
Diffstat (limited to 'twrp-functions.cpp')
-rw-r--r-- | twrp-functions.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/twrp-functions.cpp b/twrp-functions.cpp index c9aef2007..40205c943 100644 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -152,7 +152,6 @@ int TWFunc::Wait_For_Child_Timeout(pid_t pid, int *status, const string& Child_N if (retpid == 0 && timeout == 0) { LOGERR("%s took too long, killing process\n", Child_Name.c_str()); kill(pid, SIGKILL); - int died = 0; for (timeout = 5; retpid == 0 && timeout; --timeout) { sleep(1); retpid = waitpid(pid, status, WNOHANG); |