From 1478ec8e9c50eba8b3a64fb9c2fc54a3a328510b Mon Sep 17 00:00:00 2001 From: Erik Kundiman Date: Sat, 29 Jun 2024 09:43:08 +0800 Subject: 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. --- indra/newview/llfasttimerview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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: -- cgit v1.2.3