Solve use of unassigned variable in DC42 writing implementation. :/

This commit is contained in:
2017-12-28 21:56:32 +00:00
parent 6f21ffa70c
commit 8746d50bb0

View File

@@ -797,7 +797,7 @@ namespace DiscImageChef.DiscImages
{
header = new Dc42Header();
bool tags = false;
bool macosx;
bool macosx = false;
if(options != null && options.TryGetValue("macosx", out string tmpOption))
bool.TryParse(tmpOption, out macosx);