Skip to content

Commit

Permalink
Java, C#: Ensure variable is used in all disjuncts
Browse files Browse the repository at this point in the history
  • Loading branch information
paldepind committed Jan 29, 2025
1 parent 13e0829 commit 7055095
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ module ModelGeneratorInput implements ModelGeneratorInputSig<Location, CsharpDat
or
i = 4 and ExternalFlow::partialModel(api, _, _, _, _, result) // parameters
or
i = 5 and result = "" // ext
i = 5 and result = "" and exists(api) // ext
}

string partialNeutralModelRow(Callable api, int i) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ module ModelGeneratorInput implements ModelGeneratorInputSig<Location, JavaDataF
or
i = 4 and result = ExternalFlow::paramsString(api) // parameters
or
i = 5 and result = "" // ext
i = 5 and result = "" and exists(api) // ext
}

string partialNeutralModelRow(Callable api, int i) {
Expand Down

0 comments on commit 7055095

Please sign in to comment.