Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-07-21 14:30:22 +0400
committerThomas Dinges <blender@dingto.org>2013-07-21 14:30:22 +0400
commit636b314677036b9240fd4e7f9454e8a7f59d4d51 (patch)
tree4397ffebed1d892d8e0925fecb86628e2a41ea55
parentd8829122bad422303b697fb226ddbd081867c2b3 (diff)
Code cleanup / Cycles:
* Remove useless else branch, after recent changes.
-rw-r--r--intern/cycles/util/util_task.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/cycles/util/util_task.cpp b/intern/cycles/util/util_task.cpp
index 07960805f77..89d990cc5d9 100644
--- a/intern/cycles/util/util_task.cpp
+++ b/intern/cycles/util/util_task.cpp
@@ -189,10 +189,6 @@ void TaskScheduler::init(int num_threads)
/* automatic number of threads */
num_threads = system_cpu_thread_count();
}
- else {
- /* manual number of threads */
- num_threads;
- }
/* launch threads that will be waiting for work */
threads.resize(num_threads);