Commit: a537e7b426b0d26c824e60b2efd6dba8ae0997bd
Author: Sergey Sharybin
Date: Wed Nov 23 10:59:54 2016 +0100
Branches: master
https://developer.blender.org/rBa537e7b426b0d26c824e60b2efd6dba8ae0997bd
Cycles: Fix strict compilation warnings
===================================================================
M intern/cycles/util/util_system.cpp
===================================================================
diff --git a/intern/cycles/util/util_system.cpp
b/intern/cycles/util/util_system.cpp
index 2c7abba..87d885c 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
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs