Fix uninitialized value warning

This commit is contained in:
Nikita Lisitsa 2024-08-21 19:18:16 +03:00
parent 02bd1dc2f1
commit 17a0aef630

View file

@ -166,7 +166,7 @@ namespace psemek::gfx
if constexpr (std::is_integral_v<T>)
{
std::int64_t value;
std::int64_t value = 0;
switch (type)
{
case component_type_t::byte: