2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00

Remove unused variables from catch

This commit is contained in:
Xjph 2023-03-01 16:31:18 -03:30
parent cff7f0c7cb
commit 5bbf2f50de
2 changed files with 2 additions and 2 deletions

View File

@ -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).

View File

@ -232,7 +232,7 @@ namespace Observatory.UI.Views
// Cleanup
XFixesDestroyRegion((IntPtr)display, region);
}
catch (DllNotFoundException ignored)
catch
{
// libXfixes is not installed for some reason
}