From 23779974ece29cc80b0bd652ca7c91bdc30f9430 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Thu, 28 Jan 2010 23:28:23 -0500 Subject: [PATCH] Simplify: not using variable except to return. Also, auto auth push test. --- src/LifeMeterTime.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/LifeMeterTime.cpp b/src/LifeMeterTime.cpp index cedfd6c35d..7baf79ec5a 100644 --- a/src/LifeMeterTime.cpp +++ b/src/LifeMeterTime.cpp @@ -204,8 +204,7 @@ float LifeMeterTime::GetLife() const float LifeMeterTime::GetLifeSeconds() const { - float fSecs = m_fLifeTotalGainedSeconds - (m_fLifeTotalLostSeconds + STATSMAN->m_CurStageStats.m_fStepsSeconds); - return fSecs; + return m_fLifeTotalGainedSeconds - (m_fLifeTotalLostSeconds + STATSMAN->m_CurStageStats.m_fStepsSeconds); }