[llvm] r193464 - Fix a referenced before assignment in r193463

Alp Toker alp at nuanti.com
Sat Oct 26 01:46:05 PDT 2013


Author: alp
Date: Sat Oct 26 03:46:05 2013
New Revision: 193464

URL: http://llvm.org/viewvc/llvm-project?rev=193464&view=rev
Log:
Fix a referenced before assignment in r193463

Some versions of Python on the builders seem strict about this.

Modified:
    llvm/trunk/utils/lit/lit/run.py

Modified: llvm/trunk/utils/lit/lit/run.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/run.py?rev=193464&r1=193463&r2=193464&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/run.py (original)
+++ llvm/trunk/utils/lit/lit/run.py Sat Oct 26 03:46:05 2013
@@ -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





More information about the llvm-commits mailing list