Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/opensubdiv/opensubdiv_evaluator_capi.cc')
-rw-r--r--intern/opensubdiv/opensubdiv_evaluator_capi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/opensubdiv/opensubdiv_evaluator_capi.cc b/intern/opensubdiv/opensubdiv_evaluator_capi.cc
index 0da6b9daba8..c4a128213dd 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>();