Variable were declared at the wrong place

This commit is contained in:
2023-03-28 12:57:36 +02:00
parent 04b9138a53
commit a806f73633

View File

@@ -23,9 +23,9 @@ namespace Password_Manager
try try
{ {
StreamReader sr = new StreamReader(CONFIGPATH); StreamReader sr = new StreamReader(CONFIGPATH);
string? path = null, recipient = null;
if (sr != null) if (sr != null)
{ {
string? path, recipient;
while (!sr.EndOfStream) while (!sr.EndOfStream)
{ {
string[]? fields = sr.ReadLine().Split(DELIMETER); string[]? fields = sr.ReadLine().Split(DELIMETER);