"Fix" warnings

This commit is contained in:
Simon Lübeß
2026-08-16 20:11:36 +02:00
parent 39d78ab4c1
commit 2a90374b5b
25 changed files with 53 additions and 45 deletions
@@ -630,7 +630,7 @@ static class DdsImporter
surfaces.Reserve(surfaceCount);
uint32 scanLineSize = 0;
uint32 slicePitch = 0;
//uint32 slicePitch = 0;
uint64 numBytes = 0;
uint32 blockSize = 0; // Block size in bytes.
@@ -97,7 +97,7 @@ class MaterialVariable
Result<int, Int.ParseError> rowsResult = int.Parse(rowsString);
if (rowsResult case .Err(let error))
if (rowsResult case .Err(var error))
{
switch (error)
{
@@ -114,7 +114,7 @@ class MaterialVariable
Result<int, Int.ParseError> columnsResult = int.Parse(columnsString);
if (columnsResult case .Err(let error))
if (columnsResult case .Err(out error))
{
switch (error)
{