Removing unused variable

This commit is contained in:
2023-04-17 16:45:56 +02:00
parent 9aa4983f6d
commit 29c5fcafd1

View File

@@ -35,7 +35,6 @@ public partial class GeneratePassword : Form
} }
PasswordGenerator.ExceptionOccured += (e) => MessageBox.Show(e.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); PasswordGenerator.ExceptionOccured += (e) => MessageBox.Show(e.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
string filePath = $"{currentPath}\\{passwordName.Text}";
File.WriteAllText( File.WriteAllText(
currentPath + $"\\{passwordName.Text}.gpg", currentPath + $"\\{passwordName.Text}.gpg",
PasswordGenerator.New( PasswordGenerator.New(