Skip to content

Commit

Permalink
Fix compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dbartol committed Dec 18, 2024
1 parent d66cb7e commit 99bdef1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actions/ql/lib/codeql/actions/controlflow/internal/Cfg.qll
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ private module Implementation implements CfgShared::InputSig<Location> {
// Not using CFG splitting, so the following are just dummy types.
private newtype TUnit = Unit()

class SplitKindBase = TUnit;
additional class SplitKindBase = TUnit;

class Split extends TUnit {
additional class Split extends TUnit {
abstract string toString();
}

Expand All @@ -115,7 +115,7 @@ private module Implementation implements CfgShared::InputSig<Location> {
)
}

int maxSplits() { result = 0 }
additional int maxSplits() { result = 0 }

predicate scopeFirst(CfgScope scope, AstNode e) {
first(scope.(Workflow), e) or
Expand Down

0 comments on commit 99bdef1

Please sign in to comment.