diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-23 12:59:54 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-11-23 12:59:54 +0300 |
commit | a537e7b426b0d26c824e60b2efd6dba8ae0997bd (patch) | |
tree | a9f71ea538987fbc028c80da1a9779a422b1f524 /intern/cycles/util | |
parent | 411836d97c0338a7003c64d317d66ce38c559be0 (diff) |
Cycles: Fix strict compilation warnings
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_system.cpp | 6 |
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 } |