Blender Git Loki
Git Commits -> Revision 38a2bf6
Revision 38a2bf6 by Sergey Sharybin (master) May 20, 2017, 12:21 (GMT) |
Cycles: Cleanup, style and unused arguments - Some arguments were inapproriatry tagged as unused using (void)foo semantic. Only use such semantic in tricky casses, when something needs to be ignored in release builds or something is dependent on tricky ifndef policy. For rest of the cases just use void foo(int /bar*/) semantic, which ensures variable is not used. Solves confusion and code running out of sync with later development. - Used proper unused semantic to some arguments. - Added braces to make code easier to follow, tricky indentation with ifdef, uh. |
Commit Details:
Full Hash: 38a2bf665b2e5efd3bf6d54ffa0e2fc0385b9847
Parent Commit: 81e584e
Lines Changed: +6, -12