mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 13:12:39 +01:00
Remove irrelevant short-circuit return/continue
This commit is contained in:
parent
2ace6dcda7
commit
33f05cd1f8
@ -83,7 +83,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
catch
|
||||
{
|
||||
_errorCount = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -118,7 +118,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine(ex.Message);
|
||||
_errorCount = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -91,7 +91,6 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
{
|
||||
System.Diagnostics.Debug.WriteLine(ex.Message);
|
||||
_errorCount = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user