Skip to content

Commit

Permalink
Fix uninitialized variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Relintai committed Mar 23, 2022
1 parent b4973c9 commit 66d4063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/network_synchronizer/interpolator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Vector<Variant> 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<Variant> data;
Expand Down

0 comments on commit 66d4063

Please sign in to comment.