[Bf-blender-cvs] [544f611] master: OpensSubdiv: Cleanup, unused argument

Sergey Sharybin noreply at git.blender.org
Tue Dec 20 12:29:46 CET 2016


Commit: 544f6113f85fe9dd962b5985878677a3d9c202da
Author: Sergey Sharybin
Date:   Tue Dec 20 10:23:36 2016 +0100
Branches: master
https://developer.blender.org/rB544f6113f85fe9dd962b5985878677a3d9c202da

OpensSubdiv: Cleanup, unused argument

===================================================================

M	intern/opensubdiv/opensubdiv_evaluator_capi.cc

===================================================================

diff --git a/intern/opensubdiv/opensubdiv_evaluator_capi.cc b/intern/opensubdiv/opensubdiv_evaluator_capi.cc
index 0da6b9d..c4a1282 100644
--- a/intern/opensubdiv/opensubdiv_evaluator_capi.cc
+++ b/intern/opensubdiv/opensubdiv_evaluator_capi.cc
@@ -117,12 +117,12 @@ protected:
  * is small enough and better to be allocated in stack rather
  * than in heap.
  *
- * TODO(sergey): Check if bare arrays could be sued by CPU evalautor.
+ * TODO(sergey): Check if bare arrays could be used by CPU evalautor.
  */
 template <int element_size, int num_verts>
 class StackAllocatedBuffer {
 public:
-	static PatchCoordBuffer *Create(int size)
+	static PatchCoordBuffer *Create(int /*size*/)
 	{
 		StackAllocatedBuffer<element_size, num_verts> *buffer =
 		        new StackAllocatedBuffer<element_size, num_verts>();




More information about the Bf-blender-cvs mailing list