From 66d40632fea79c6dd9d56e3fa13e45eae686fd3c Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 23 Mar 2022 15:23:08 +0100 Subject: [PATCH] Fix uninitialized variable warning. --- modules/network_synchronizer/interpolator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/network_synchronizer/interpolator.cpp b/modules/network_synchronizer/interpolator.cpp index 5a120ebcf..69a7aded5 100644 --- a/modules/network_synchronizer/interpolator.cpp +++ b/modules/network_synchronizer/interpolator.cpp @@ -179,7 +179,7 @@ Vector Interpolator::pop_epoch(uint32_t p_epoch, real_t p_fraction) { } } - ObjectID cache_object_id; + ObjectID cache_object_id = 0; Object *cache_object = nullptr; Vector data;