REFACTOR: Removed unneeded value sets.

This commit is contained in:
2017-12-21 16:07:20 +00:00
parent 9883b567ff
commit bcbda18e4d
110 changed files with 203 additions and 280 deletions

View File

@@ -72,7 +72,6 @@ namespace DiscImageChef.Commands
catch(ArgumentException)
{
DicConsole.ErrorWriteLine("Specified encoding is not supported.");
encoding = null;
return;
}

View File

@@ -42,7 +42,6 @@ namespace DiscImageChef.Commands
{
ConsoleKeyInfo pressedKey = new ConsoleKeyInfo();
pressedKey = new ConsoleKeyInfo();
while(pressedKey.Key != ConsoleKey.Y && pressedKey.Key != ConsoleKey.N)
{
DicConsole.Write("Do you want to save device reports globally? (Y/N): ");

View File

@@ -67,7 +67,6 @@ namespace DiscImageChef.Commands
catch(ArgumentException)
{
DicConsole.ErrorWriteLine("Specified encoding is not supported.");
encoding = null;
return;
}

View File

@@ -254,6 +254,8 @@ namespace DiscImageChef.Commands
tag);
break;
}
// TODO: Not implemented
}
Core.Statistics.AddCommand("decode");

View File

@@ -71,7 +71,6 @@ namespace DiscImageChef.Commands
catch(ArgumentException)
{
DicConsole.ErrorWriteLine("Specified encoding is not supported.");
encoding = null;
return;
}

View File

@@ -74,7 +74,6 @@ namespace DiscImageChef.Commands
catch(ArgumentException)
{
DicConsole.ErrorWriteLine("Specified encoding is not supported.");
encoding = null;
return;
}

View File

@@ -70,7 +70,6 @@ namespace DiscImageChef.Commands
catch(ArgumentException)
{
DicConsole.ErrorWriteLine("Specified encoding is not supported.");
encoding = null;
return;
}

View File

@@ -60,7 +60,7 @@ namespace DiscImageChef.Commands
Core.Statistics.AddDevice(dev);
ScanResults results = new ScanResults();
ScanResults results;
switch(dev.Type)
{