Skip to content

Commit

Permalink
review codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Cerqueira committed Nov 3, 2023
1 parent 2d8ad22 commit a803dc3
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Src/Control/PipeAndFilterControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ private async Task ExecuteTasksPipes(List<(string Id, Func<EventPipe<T>, Cancell
_prevPipe,
_currentPipe!,
aliasprev, aliascur);
var execid = _currentPipe;

var elapsed = TimeSpan.Zero;
var tm = Stopwatch.StartNew();
try
Expand Down Expand Up @@ -599,11 +599,7 @@ private async Task NextPipe()
_prevPipe,
_currentPipe!,
aliasprev, aliascur);
var execid = _currentPipe;
if (!string.IsNullOrEmpty(itemcond.GotoId))
{
execid = _aliasToId[itemcond.GotoId];
}

var elapsed = TimeSpan.Zero;
var tm = Stopwatch.StartNew();
try
Expand Down

0 comments on commit a803dc3

Please sign in to comment.