mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Update cpp/ql/lib/semmle/code/cpp/models/interfaces/FormattingFunction.qll
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
@@ -143,8 +143,7 @@ abstract class FormattingFunction extends ArrayFunction, TaintFunction {
|
||||
* of parameters, then don't return anything.
|
||||
*/
|
||||
int getNumberOfExplicitParameters() {
|
||||
result = this.getAnExplicitDeclarationEntry().getNumberOfParameters() and
|
||||
forall(FunctionDeclarationEntry fde | fde = this.getAnExplicitDeclarationEntry() |
|
||||
forex(FunctionDeclarationEntry fde | fde = this.getAnExplicitDeclarationEntry() |
|
||||
result = fde.getNumberOfParameters()
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user