summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-09-06 12:41:19 +0000
committerDuncan Sands <baldrick@free.fr>2009-09-06 12:41:19 +0000
commit89720bbd11abddfacb35034a06176abe4eee419b (patch)
treec9b9c39fd02796b09af5525607bfb65d7680005c /llvm/lib/System/Unix
parent2b37efaf533086cf00c51c30df08dad6636f1281 (diff)
downloadbcm5719-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.inc3
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);
OpenPOWER on IntegriCloud