kill a bunch of warnings

This commit is contained in:
zeromus 2012-06-10 22:38:44 +00:00
parent d65c16693b
commit 18eee77173
1 changed files with 9 additions and 9 deletions

View File

@ -526,7 +526,7 @@ namespace BizHawk.MultiClient
if (background != null)
g.FillRectangle(GetBrush(background), int_x, int_y, int_width, int_height);
}
catch(Exception e)
catch(Exception)
{
// need to stop the script from here
return;
@ -543,7 +543,7 @@ namespace BizHawk.MultiClient
{
g.DrawLine(GetPen(color), LuaInt(X), LuaInt(Y), x, LuaInt(Y));
}
catch (Exception e)
catch (Exception)
{
return;
}
@ -559,7 +559,7 @@ namespace BizHawk.MultiClient
color = "black";
g.DrawLine(GetPen(color), LuaInt(x1), LuaInt(y1), LuaInt(x2), LuaInt(y2));
}
catch (Exception e)
catch (Exception)
{
return;
}
@ -579,7 +579,7 @@ namespace BizHawk.MultiClient
}
}
catch (Exception e)
catch (Exception)
{
// need to stop the script from here
return;
@ -608,7 +608,7 @@ namespace BizHawk.MultiClient
g.FillPolygon(GetBrush(background), Points);
}
}
catch (Exception e)
catch (Exception)
{
return;
}
@ -632,7 +632,7 @@ namespace BizHawk.MultiClient
}
g.DrawBezier(GetPen(color), Points[0], Points[1], Points[2], Points[3]);
}
catch (Exception e)
catch (Exception)
{
return;
}
@ -652,7 +652,7 @@ namespace BizHawk.MultiClient
}
}
catch (Exception e)
catch (Exception)
{
// need to stop the script from here
return;
@ -678,7 +678,7 @@ namespace BizHawk.MultiClient
g.DrawIcon(icon, LuaInt(x), LuaInt(y));
}
catch(Exception e)
catch(Exception)
{
return;
}
@ -700,7 +700,7 @@ namespace BizHawk.MultiClient
g.DrawImage(img, LuaInt(x), LuaInt(y), int.Parse(width.ToString()), int.Parse(height.ToString()));
}
catch (Exception e)
catch (Exception)
{
return;
}