summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-01-30 17:10:03 -0800
committerRider Linden <rider@lindenlab.com>2018-01-30 17:10:03 -0800
commit148856721293c3fd4b7ec961aeecb9090c1dd189 (patch)
treea77300ea749a444ed0779525022921b5080ba5cf
parent0bf50e2f8cfa5f3ccd6165ce935cf0fd9c174ced (diff)
Unused function in llsettingsdaycycle
-rw-r--r--indra/llinventory/llsettingsdaycycle.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/llinventory/llsettingsdaycycle.cpp b/indra/llinventory/llsettingsdaycycle.cpp
index 9b0a6c1127..3abf76175f 100644
--- a/indra/llinventory/llsettingsdaycycle.cpp
+++ b/indra/llinventory/llsettingsdaycycle.cpp
@@ -42,20 +42,6 @@ namespace
LLTrace::BlockTimerStatHandle FTM_BLEND_WATERVALUES("Blending Water Environment");
LLTrace::BlockTimerStatHandle FTM_UPDATE_WATERVALUES("Update Water Environment");
- inline F32 get_wrapping_distance(F32 begin, F32 end)
- {
- if (begin < end)
- {
- return end - begin;
- }
- else if (begin > end)
- {
- return 1.0 - (begin - end);
- }
-
- return 0;
- }
-
LLSettingsDay::CycleTrack_t::iterator get_wrapping_atafter(LLSettingsDay::CycleTrack_t &collection, F32 key)
{
if (collection.empty())