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 }