From 6ade89c22161c5a13432962c82f020973dcfab9f Mon Sep 17 00:00:00 2001 From: David G Yu Date: Thu, 14 May 2015 12:55:04 -0700 Subject: [PATCH] Removed an unused local var from interpolate.cpp Fixes a build warning from clang on OS X. --- opensubdiv/far/interpolate.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/opensubdiv/far/interpolate.cpp b/opensubdiv/far/interpolate.cpp index c5c4d07c..202c95c0 100644 --- a/opensubdiv/far/interpolate.cpp +++ b/opensubdiv/far/interpolate.cpp @@ -230,8 +230,6 @@ void Spline::GetPatchWeights(PatchParam::BitField bits, Spline::GetWeights(s, point ? sWeights : 0, derivS ? dsWeights : 0); Spline::GetWeights(t, point ? tWeights : 0, derivT ? dtWeights : 0); - int boundary = bits.GetBoundary(); - if (point) { // Compute the tensor product weight of the (s,t) basis function // corresponding to each control vertex: