From 30afb0c5f83eb01ae86c0ada2702578117f0cd80 Mon Sep 17 00:00:00 2001 From: schedpas Date: Thu, 16 Jul 2020 08:23:21 +0200 Subject: [PATCH] remove unnesseccery variable --- Pilz.IO/FileLocker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pilz.IO/FileLocker.cs b/Pilz.IO/FileLocker.cs index 298d4f5..bb45ea5 100644 --- a/Pilz.IO/FileLocker.cs +++ b/Pilz.IO/FileLocker.cs @@ -41,7 +41,7 @@ namespace Pilz.IO var fs = new FileStream(lockFile, FileMode.Open, FileAccess.Read); fs.Close(); } - catch (IOException ex) + catch (IOException) { isLocked = true; }