mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[ALL] String.Empty
This commit is contained in:
@@ -93,8 +93,8 @@ namespace SabreTools
|
||||
onlyNeeded = false;
|
||||
|
||||
// User inputs
|
||||
string newdat ="",
|
||||
outdat = "";
|
||||
string newdat =String.Empty,
|
||||
outdat = String.Empty;
|
||||
List<string> inputs = new List<string>();
|
||||
|
||||
// Determine which switches are enabled (with values if necessary)
|
||||
@@ -178,7 +178,7 @@ namespace SabreTools
|
||||
outdat = args[i];
|
||||
break;
|
||||
default:
|
||||
string temparg = args[i].Replace("\"", "").Replace("file://", "");
|
||||
string temparg = args[i].Replace(""", String.Empty).Replace("file://", String.Empty);
|
||||
|
||||
if (temparg.StartsWith("-") && temparg.Contains("="))
|
||||
{
|
||||
@@ -186,7 +186,7 @@ namespace SabreTools
|
||||
string[] split = temparg.Split('=');
|
||||
if (split[1] == null)
|
||||
{
|
||||
split[1] = "";
|
||||
split[1] = String.Empty;
|
||||
}
|
||||
|
||||
switch (split[0])
|
||||
|
||||
Reference in New Issue
Block a user