diff options
author | Duncan Sands <baldrick@free.fr> | 2009-09-06 12:41:19 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-09-06 12:41:19 +0000 |
commit | c2d98bc0d682419f09659d94afefd6a6266dd6ee (patch) | |
tree | 6ff2fb6fa7dd7bbbde0fb279505c904c2d883b53 /lib/System/Unix/Program.inc | |
parent | 8b3594afdb402e088ac1b891930c599e58992afa (diff) |
Remove some not-really-used variables, as warned
about by icc (#593, partial). Patch by Erick Tryzelaar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Program.inc')
-rw-r--r-- | lib/System/Unix/Program.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc index 84e025cd5d..adf7390f9f 100644 --- a/lib/System/Unix/Program.inc +++ b/lib/System/Unix/Program.inc @@ -116,9 +116,7 @@ static bool RedirectIO(const Path *Path, int FD, std::string* ErrMsg) { return false; } -static bool Timeout = false; static void TimeOutHandler(int Sig) { - Timeout = true; } static void SetMemoryLimits (unsigned size) @@ -233,7 +231,6 @@ Program::Wait(unsigned secondsToWait, // Install a timeout handler. if (secondsToWait) { - Timeout = false; Act.sa_sigaction = 0; Act.sa_handler = TimeOutHandler; sigemptyset(&Act.sa_mask); |