From 738baf2cad1831dd62adf400b882972bea6cc298 Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Tue, 9 Oct 2018 10:22:55 -0500 Subject: [PATCH] Remove redundant initializations --- Mirror/Runtime/ExponentialMovingAverage.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mirror/Runtime/ExponentialMovingAverage.cs b/Mirror/Runtime/ExponentialMovingAverage.cs index 685135317..a90fa0d53 100644 --- a/Mirror/Runtime/ExponentialMovingAverage.cs +++ b/Mirror/Runtime/ExponentialMovingAverage.cs @@ -7,10 +7,10 @@ namespace Mirror public class ExponentialMovingAverage { float alpha; - bool initialized = false; + bool initialized; - double _value = 0; - double _var = 0; + double _value; + double _var; public ExponentialMovingAverage(int n) {