Fix a referenced before assignment in r193463
authorAlp Toker <alp@nuanti.com>
Sat, 26 Oct 2013 08:46:05 +0000 (08:46 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 26 Oct 2013 08:46:05 +0000 (08:46 +0000)
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

utils/lit/lit/run.py

index 8aaf52f1aecdc7d41e5f2e6f2c56fcaa0c02260a..ed39c40fa5626143fc23f5c9e61e0510563605c9 100644 (file)
@@ -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