Fix "Converting null literal.." warning (#9205)

This commit is contained in:
Enrico Giordani
2021-01-21 11:02:18 +01:00
committed by GitHub
parent a1910b4914
commit b74afd3a80

View File

@@ -95,7 +95,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Registry.Helper
var subKeysNames = subKeyPath.Split('\\');
var index = 0;
var subKey = baseKey;
RegistryKey? subKey = baseKey;
ICollection<RegistryEntry> result;