diff --git a/Source/Core/Core/CoreTiming.cpp b/Source/Core/Core/CoreTiming.cpp
index 2a7e571dc2..c6c349711b 100644
--- a/Source/Core/Core/CoreTiming.cpp
+++ b/Source/Core/Core/CoreTiming.cpp
@@ -48,7 +48,7 @@ static Common::FifoQueue<BaseEvent, false> tsQueue;
 // event pools
 static Event *eventPool = nullptr;
 
-float lastOCFactor;
+static float lastOCFactor;
 int slicelength;
 static int maxSliceLength = MAX_SLICE_LENGTH;