Fix uninitialized value warning
This commit is contained in:
parent
02bd1dc2f1
commit
17a0aef630
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ namespace psemek::gfx
|
||||||
|
|
||||||
if constexpr (std::is_integral_v<T>)
|
if constexpr (std::is_integral_v<T>)
|
||||||
{
|
{
|
||||||
std::int64_t value;
|
std::int64_t value = 0;
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case component_type_t::byte:
|
case component_type_t::byte:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue