From ba982c0575515a8524d5044f928cd336303f807c Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 6 Apr 2013 21:47:13 +1000 Subject: Clean up some compiler warnings. More to come. --- linden/indra/llmath/llvolume.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'linden/indra/llmath') diff --git a/linden/indra/llmath/llvolume.cpp b/linden/indra/llmath/llvolume.cpp index 618048c..63869ea 100644 --- a/linden/indra/llmath/llvolume.cpp +++ b/linden/indra/llmath/llvolume.cpp @@ -4438,14 +4438,9 @@ BOOL LLVolumeFace::createUnCutCubeCap(LLVolume* volume, BOOL partial_build) S32 max_s = volume->getProfile().getTotal(); S32 max_t = volume->getPath().mPath.size(); - // S32 i; - S32 num_vertices = 0, num_indices = 0; S32 grid_size = (profile.size()-1)/4; S32 quad_count = (grid_size * grid_size); - num_vertices = (grid_size+1)*(grid_size+1); - num_indices = quad_count * 4; - LLVector3& min = mExtents[0]; LLVector3& max = mExtents[1]; -- cgit v1.1