Skip to content

Commit 30a512c

Browse files
committed
Formatting
1 parent 947e027 commit 30a512c

File tree

1 file changed

+1
-3
lines changed
  • cpp/ql/lib/semmle/code/cpp/models/implementations

1 file changed

+1
-3
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/ODBC.qll

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ private import semmle.code.cpp.models.interfaces.FunctionInputsAndOutputs
1717
* and would be considered a barrier to SQL injection.
1818
*/
1919
private class ODBCExecutionFunction extends SqlExecutionFunction {
20-
ODBCExecutionFunction() {
21-
this.hasGlobalName(["SQLExecDirect", "SQLPrepare"])
22-
}
20+
ODBCExecutionFunction() { this.hasGlobalName(["SQLExecDirect", "SQLPrepare"]) }
2321

2422
override predicate hasSqlArgument(FunctionInput input) { input.isParameterDeref(1) }
2523
}

0 commit comments

Comments
 (0)