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:
authorCampbell Barton <ideasman42@gmail.com>2013-04-11 03:52:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-11 03:52:07 +0400
commitece766ee7e22358378eead26bb54f27601b02e2b (patch)
treee126d012c598c71a80289e71957ee14cdad81bde /intern/elbeem
parentc68ae745b677c02899fda37a1f573ab688a99fac (diff)
code cleanup: unused defines, remove unused scanfill success value from BLI_scanfill_begin().
Diffstat (limited to 'intern/elbeem')
-rw-r--r--intern/elbeem/intern/simulation_object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/elbeem/intern/simulation_object.cpp b/intern/elbeem/intern/simulation_object.cpp
index d89b28bbf7a..9e98adfc734 100644
--- a/intern/elbeem/intern/simulation_object.cpp
+++ b/intern/elbeem/intern/simulation_object.cpp
@@ -33,7 +33,7 @@
LbmSolverInterface* createSolver();
#if PARALLEL==1
-int omp_threadcache;
+static int omp_threadcache;
#endif
/******************************************************************************
@@ -71,7 +71,7 @@ SimulationObject::~SimulationObject()
if(mpParam) delete mpParam;
if(mpParts) delete mpParts;
debMsgStd("SimulationObject",DM_MSG,"El'Beem Done!\n",10);
-#if PARALLEL==1
+#if (PARALLEL == 1)
omp_set_num_threads(omp_threadcache);
printf("Resetting omp_threads to cached value %d \n", omp_threadcache);
#endif