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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-11-23 12:59:54 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-11-23 12:59:54 +0300
commita537e7b426b0d26c824e60b2efd6dba8ae0997bd (patch)
treea9f71ea538987fbc028c80da1a9779a422b1f524
parent411836d97c0338a7003c64d317d66ce38c559be0 (diff)
Cycles: Fix strict compilation warnings
-rw-r--r--intern/cycles/util/util_system.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/intern/cycles/util/util_system.cpp b/intern/cycles/util/util_system.cpp
index 2c7abbaacbb..87d885c44cf 100644
--- a/intern/cycles/util/util_system.cpp
+++ b/intern/cycles/util/util_system.cpp
@@ -90,15 +90,17 @@ int system_cpu_thread_count()
}
unsigned short system_cpu_process_groups(unsigned short max_groups,
- unsigned short *grpups)
+ unsigned short *groups)
{
#ifdef _WIN32
unsigned short group_count = max_groups;
- if(!GetProcessGroupAffinity(GetCurrentProcess(), &group_count, grpups)) {
+ if(!GetProcessGroupAffinity(GetCurrentProcess(), &group_count, groups)) {
return 0;
}
return group_count;
#else
+ (void) max_groups;
+ (void) groups;
return 0;
#endif
}