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

@@ -1,3 +1,7 @@
2016-07-28 Natalia Portillo <claunia@claunia.com>
* Encoding.cs: Solve null reference.
2016-02-10 Natalia Portillo <claunia@claunia.com> 2016-02-10 Natalia Portillo <claunia@claunia.com>
* FFS.cs: * FFS.cs:

View File

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