@Fixed some compiler warnings

This commit is contained in:
biwa 2019-06-15 21:26:43 +02:00
parent dde8742ff2
commit 97d4fdd78a
4 changed files with 6 additions and 6 deletions

Binary file not shown.

View file

@ -1,4 +1,4 @@
URL http://devbuilds.drdteam.org/gzdbbf/
FileName Builder.exe
UpdateName GZDoom_Builder_Bugfix-r[REVNUM]-x64.7z
UpdaterName GZDB_Updater-x64.7z
UpdateName GZDoom_Builder_Bugfix-r[REVNUM].7z
UpdaterName GZDB_Updater-x86.7z

View file

@ -1520,7 +1520,7 @@ namespace CodeImp.DoomBuilder.GZBuilder.MD3
v.x = rx;
v.y = ry;
}
catch (FormatException e)
catch (FormatException)
{
message = "field is not a float";
return false;
@ -1549,7 +1549,7 @@ namespace CodeImp.DoomBuilder.GZBuilder.MD3
else
t.y = 0.0f;
}
catch (FormatException e)
catch (FormatException)
{
message = "field is not a float";
return false;
@ -1575,7 +1575,7 @@ namespace CodeImp.DoomBuilder.GZBuilder.MD3
normal.y = float.Parse(fields[1], CultureInfo.InvariantCulture);
normal.z = float.Parse(fields[2], CultureInfo.InvariantCulture);
}
catch (FormatException e)
catch (FormatException)
{
message = "field is not a float";
return false;
@ -1620,7 +1620,7 @@ namespace CodeImp.DoomBuilder.GZBuilder.MD3
normals.Add(-1);
}
}
catch(FormatException e)
catch(FormatException)
{
message = "field is not an integer";
return false;