Skip to content

Commit aafd2fe

Browse files
committed
misc: use var for readerStateList in CheckForUpdates method
1 parent 447c03f commit aafd2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Yubico.Core/src/Yubico/Core/Devices/SmartCard/DesktopSmartCardDeviceListener.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private bool CheckForUpdates(int timeout, bool usePnpWorkaround)
198198
break;
199199
}
200200

201-
List<SCARD_READER_STATE> readerStateList = newStates.ToList();
201+
var readerStateList = newStates.ToList();
202202
readerStateList.AddRange(addedReaderStates);
203203

204204
SCARD_READER_STATE[] updatedStates = readerStateList.Except(removedReaderStates, new ReaderStateComparer()).ToArray();

0 commit comments

Comments
 (0)