Skip to content

Commit 288bce1

Browse files
committed
#4455 Division by zero in updateFrameStats
1 parent a588add commit 288bce1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

indra/newview/llviewerstats.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ class LLViewerStats : public LLSingleton<LLViewerStats>
277277
F64Seconds mLastTimeDiff; // used for time stat updates
278278
F64Seconds mTotalFrametimeJitter;
279279

280-
U32 mFrameJitterEvents;
281-
U32 mFrameJitterEventsLastMinute;
282-
U32 mEventMinutes;
280+
U32 mFrameJitterEvents = 0;
281+
U32 mFrameJitterEventsLastMinute = 0;
282+
U32 mEventMinutes = 0;
283283
F64Seconds mTotalTime;
284284

285285
F64Seconds mLastFrameTimeSample; // used for frame time stats

0 commit comments

Comments
 (0)