Remove irrelevant short-circuit return/continue

This commit is contained in:
Ivandro Jao 2023-02-24 22:32:57 +00:00
parent 2ace6dcda7
commit 33f05cd1f8
4 changed files with 0 additions and 5 deletions

View File

@ -83,7 +83,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
catch
{
_errorCount = 1;
return;
}
}

View File

@ -137,12 +137,10 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
if (v == 1)
{
skipCount = 1;
continue;
}
else if (v == 2)
{
skipCount = 2;
continue;
}
else if (v == 5)
{

View File

@ -118,7 +118,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
{
System.Diagnostics.Debug.WriteLine(ex.Message);
_errorCount = 1;
return;
}
}

View File

@ -91,7 +91,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
{
System.Diagnostics.Debug.WriteLine(ex.Message);
_errorCount = 1;
return;
}
}