summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-06-29 09:43:08 +0800
committerErik Kundiman <erik@megapahit.org>2024-06-30 14:07:29 +0800
commit1478ec8e9c50eba8b3a64fb9c2fc54a3a328510b (patch)
tree092b0a2ad6e2c8856baf2cbd8e4c29b378536eb4 /indra
parentfacf3ce0c8554896e2183e4a4e4588b81e5100d5 (diff)
Fast timer view had a maybe uninitialised variable
that GCC did't like. Adding a compile flag to the file didn't help somehow. So we're just initialising it with float 0.0.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfasttimerview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp
index 843bdfa42d..4851f65c48 100644
--- a/indra/newview/llfasttimerview.cpp
+++ b/indra/newview/llfasttimerview.cpp
@@ -1096,7 +1096,7 @@ void LLFastTimerView::drawLineGraph()
cur_max_calls = llmax(cur_max_calls, calls);
}
F32 x = mGraphRect.mRight - j * (F32)(mGraphRect.getWidth())/(mRecording.getNumRecordedPeriods()-1);
- F32 y;
+ F32 y = 0.0;
switch(mDisplayType)
{
case DISPLAY_TIME: