Solve null reference.

This commit is contained in:
2016-07-28 18:56:19 +01:00
parent b2ab03407f
commit c93d469da9
2 changed files with 6 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ namespace DiscImageChef.Filesystems.LisaFS
static string GetString(byte[] str)
{
string uni = null;
string uni = "";
foreach(byte b in str)
{
@@ -131,7 +131,7 @@ namespace DiscImageChef.Filesystems.LisaFS
if(PascalString == null)
return null;
string uni = null;
string uni = "";
byte length = PascalString[0];