summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-10-26 08:46:05 +0000
committerAlp Toker <alp@nuanti.com>2013-10-26 08:46:05 +0000
commit8d93aa0de330e24fe1cec7a915bdf1354da377fa (patch)
treec09de878b8316f1b698eee85cd237c0b33e36850 /utils
parenta4e71dea487750cd13a5a5821df3acee32988bf4 (diff)
downloadllvm-8d93aa0de330e24fe1cec7a915bdf1354da377fa.tar.gz
llvm-8d93aa0de330e24fe1cec7a915bdf1354da377fa.tar.bz2
llvm-8d93aa0de330e24fe1cec7a915bdf1354da377fa.tar.xz
Fix a referenced before assignment in r193463
Some versions of Python on the builders seem strict about this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193464 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/lit/lit/run.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/lit/lit/run.py b/utils/lit/lit/run.py
index 8aaf52f1ae..ed39c40fa5 100644
--- a/utils/lit/lit/run.py
+++ b/utils/lit/lit/run.py
@@ -209,6 +209,7 @@ class Run(object):
"""
# Choose the appropriate parallel execution implementation.
+ consumer = None
if jobs != 1 and use_processes and multiprocessing:
try:
task_impl = multiprocessing.Process