mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
Remove an unnecessary if.
This commit is contained in:
@@ -135,9 +135,8 @@ module ModelGeneratorInput implements ModelGeneratorInputSig<Location, CppDataFl
|
||||
ExternalFlow::getParameterTypeWithoutTemplateArguments(functionTemplate, i, true), ","
|
||||
order by
|
||||
i
|
||||
)
|
||||
|
|
||||
if params = "" then result = "()" else result = "(" + params + ")"
|
||||
) and
|
||||
result = "(" + params + ")"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user