fix compiler error

dev
Anton Franzluebbers 2023-07-24 18:46:01 -04:00
parent c1ab5b34df
commit a450dcd0c2
1 changed files with 2 additions and 1 deletions

View File

@ -63,7 +63,8 @@ namespace VELConnect
/// </summary>
public string TryGetData(string key)
{
return deviceData.data?.TryGetValue(key, out string val) == true ? val : null;
string val = null;
return deviceData.data?.TryGetValue(key, out val) == true ? val : null;
}
}