mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-11-04 21:01:48 +00:00
"Fix" warnings
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user