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 | 89720bbd11abddfacb35034a06176abe4eee419b (patch) | |
tree | c9b9c39fd02796b09af5525607bfb65d7680005c /llvm/lib/System/Unix | |
parent | 2b37efaf533086cf00c51c30df08dad6636f1281 (diff) | |
download | bcm5719-llvm-89720bbd11abddfacb35034a06176abe4eee419b.tar.gz bcm5719-llvm-89720bbd11abddfacb35034a06176abe4eee419b.zip |
Remove some not-really-used variables, as warned
about by icc (#593, partial). Patch by Erick Tryzelaar.
llvm-svn: 81115
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r-- | llvm/lib/System/Unix/Program.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/System/Unix/Program.inc b/llvm/lib/System/Unix/Program.inc index 84e025cd5d5..adf7390f9fb 100644 --- a/llvm/lib/System/Unix/Program.inc +++ b/llvm/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); |