Skip to content

Commit

Permalink
Removed unused exception variable
Browse files Browse the repository at this point in the history
  • Loading branch information
TechieGuy12 committed Jun 4, 2022
1 parent a5d6d30 commit 7e8f202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FileWatcher/FileSystem/File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ private static void SetDestinationCreationTime(string source, string destination
{
IO.File.SetCreationTime(destination, (DateTime)sourceTime);
}
catch (Exception ex)
catch
{
// Just swallow the exception as we are just setting the time
return;
Expand Down

0 comments on commit 7e8f202

Please sign in to comment.