From 7d2499f10a100d16a1043a59ba914b17e3bfbaf3 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 7 Apr 2013 02:38:10 +1000 Subject: One more variable clean out, so Windows can compile. --- linden/indra/llmath/llvolume.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'linden/indra/llmath') diff --git a/linden/indra/llmath/llvolume.cpp b/linden/indra/llmath/llvolume.cpp index 63869ea..9dc3746 100644 --- a/linden/indra/llmath/llvolume.cpp +++ b/linden/indra/llmath/llvolume.cpp @@ -4437,9 +4437,7 @@ BOOL LLVolumeFace::createUnCutCubeCap(LLVolume* volume, BOOL partial_build) const std::vector& profile = volume->getProfile().mProfile; S32 max_s = volume->getProfile().getTotal(); S32 max_t = volume->getPath().mPath.size(); - - S32 grid_size = (profile.size()-1)/4; - S32 quad_count = (grid_size * grid_size); + S32 grid_size = (profile.size() - 1) / 4; LLVector3& min = mExtents[0]; LLVector3& max = mExtents[1]; -- cgit v1.1