Remove unused variables from catch
This commit is contained in:
parent
cff7f0c7cb
commit
5bbf2f50de
2 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ namespace Observatory.PluginManagement
|
|||
{
|
||||
timer.Start();
|
||||
}
|
||||
catch (ObjectDisposedException ode)
|
||||
catch
|
||||
{
|
||||
// Not sure why this happens, but I've reproduced it twice in a row after hitting
|
||||
// read-all while also playing (ie. generating journals).
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ namespace Observatory.UI.Views
|
|||
// Cleanup
|
||||
XFixesDestroyRegion((IntPtr)display, region);
|
||||
}
|
||||
catch (DllNotFoundException ignored)
|
||||
catch
|
||||
{
|
||||
// libXfixes is not installed for some reason
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue