summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2007-04-07 03:22:03 +0000
committerJames Cook <james@lindenlab.com>2007-04-07 03:22:03 +0000
commit8247d5d396518ae97b2a444393e5df8cdadb1bd4 (patch)
treec51ece0e7e160d8f6642d4b4ff1969801859fba8 /indra
parentbfb21255e3bbab36083e9410071dcde6cba8c85a (diff)
Fix Mac compiler warning for deployment builds.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llworld.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 83420f8761..f6116eb718 100644
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -790,7 +790,10 @@ void LLWorld::updateWaterObjects()
// First, determine the min and max "box" of water objects
bool first = true;
- S32 min_x, min_y, max_x, max_y;
+ S32 min_x = 0;
+ S32 min_y = 0;
+ S32 max_x = 0;
+ S32 max_y = 0;
U32 region_x, region_y;
S32 rwidth = llfloor(getRegionWidthInMeters());